NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

If I wanted to generate a 20,000 by 20,000 png for a particular location, is that possible? It seems whenever I tried to export a tile via an http query it will only allow a height of 2,000?

asked 09 Jan '12, 00:57

johnmci's gravatar image

accept rate: 0%

edited 09 Jan '12, 14:07

Jonathan%20Bennett's gravatar image

Jonathan Ben...

It is possible but none of our free services will do that for you. You have to understand that producing such large images does require a lot of resources - and while we give away OSM data for free, the amount of computing power that we can give away is limited.

There are several ways for you to acquire such an image. For example, you could download an SVG or PDF image from the export tab and then use a program like rsvg to produce a bitmap from the SVG. Or, you could render an image yourself using either your own Mapnik installation (powerful but a lot of work to set up - use that if you are on Linux and expect to render images like that more often) or a standalone renderer like Maperitive (runs on Linux and Windows). Details on both techniques can be found on our wiki.

There's also the option of using a third-party service. The free Maposmatic generates large PNGs (albeit not the 400 Megapixel you're after) and PDFs. Some of the businesses listed on the Commercial OSM Software and Services page will also be able to produce such images as a paid service.

permanent link

answered 09 Jan '12, 07:55

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

permanent link

answered 09 Jan '12, 20:00

stephan75's gravatar image

accept rate: 6%

Check out Viking GPS. While designed to work with GPS data, it also has the ability to output any map it is displaying to a graphic file (or files) in whatever resolution you choose. The data can come from any supported source, including several different OSM data tile source (Mapnik, osmarender, maplint). It is also possible to setup your own sources (TOPOsm, Yahoo, Google, Cloudmade styles). [It shouldn't need to be said, but be sure to check the licensing of the sources.]

BTW, If you do use Viking with any of the OSM tile sources, then please ensure you are following the Tile Usage Policy by setting your tile checking period to 7 days (Viking->Edit->Preferences->Tile Age = 604800). In versions prior to 1.2.2, it was inadvertently set to small (30 seconds).

permanent link

answered 10 Jan '12, 13:22

jwernerny's gravatar image

accept rate: 0%

You could also use ffmpeg or imagemagik to combine multiple smaller images into a single image.

Try this:

permanent link

answered 17 Aug '18, 04:24

AlanHalls's gravatar image

accept rate: 0%

there are different bigmap scripts that come in handy for downloading the tiles of bigger areas.

(22 Aug '18, 22:09) dieterdreist

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 09 Jan '12, 00:57

question was seen: 8,633 times

last updated: 22 Aug '18, 22:09

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum