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

Hi,

I have to develop an application that will find the map, from an address/postcode, and create a static image of the map. The reason being because that image will be stored on a "mobile" application that has limited internet access and indeed very limited bandwidth (and will be used by public - so lots of people).

Obviously the solution has to be cheap (ideally free) and quick so I'm wondering if OpenStreetMap could be used for this? (BTW the application is in .Net)

I would greatly appreciate if you could point me in the right direction for this issue and if OpenStreetMap can't be used if you know of any other providers that could be used for this?

Kind regards Sidharth

asked 05 Jun '13, 16:41

Sid's gravatar image

Sid
16111
accept rate: 0%

edited 11 Nov '13, 13:29

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


Your question is largely a rendering question and many of the responses you will see if you enter "render map" into the search box will likely be applicable.

The standard way to render map images is setting up a server with PostGIS and Mapnik, import data with osm2pgsql, and then you can use various tools e.g. nik2img.py to create PNG images of any size, in any projection, for any area of the world. You could then write a batch job that generates all the static images you need. If the images are all in one area, e.g. all in India, then importing the data is relatively quick. If the images are across the world then you have to import a world-wide data set which is slower.

There are many other methods to achieve what you want; one of them would consist of using a "static map" script to download ready-made map tiles from someone else's server, or even use a complete "static map" service offered by someone else. Such use is bound by the usage policies of the service in question, so before you download a large number of tiles or images you should check whether you're not violating their terms. Some static map options are listed on the wiki: http://wiki.openstreetmap.org/wiki/Static_map_images

permanent link

answered 06 Jun '13, 09:50

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×535
×60
×11

question asked: 05 Jun '13, 16:41

question was seen: 4,833 times

last updated: 11 Nov '13, 13:29

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