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


I want to get the mapnik image or osmarender image given the bounding box, just like the export feature of openstreetmaps. I have an application that should automatically fetch that image given the box coordinates.

Is that possible? How? If not, any suggestions?

Thank you for reading, and of course answering my question. :D

asked 30 Jul '11, 08:26

jplaras's gravatar image

accept rate: 0%

Getting a Mapnik image from the export tab means that the image has to be prepared from raw data especially for you; this is relatively expensive in terms of computing time and it is therefore not allowed to use that in any automated fashion.

Check out the Wiki page Static map images for possible solutions to your problem. Many of the services listed there use pre-rendered tiles to create the map image and thus cause less load on the servers.

permanent link

answered 30 Jul '11, 10:11

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

For example the bigmap script allows you to get images of any size which are assembled from the standard tiles thereby not requiring extra rendering.

Otherwise you would have to install your own rendering chain to render these maps on demand (with the advantage that you can apply any changes to the style hence controlling what and how is displayed). There are tools which create maps of custom size like for mapnik. Alternatives could be osmarender, maperitive or the recently released mapweaver.

permanent link

answered 30 Jul '11, 12:11

dieterdreist's gravatar image

accept rate: 3%

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: 30 Jul '11, 08:26

question was seen: 8,565 times

last updated: 30 Jul '11, 12:11

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