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 aseerel4c26 ♦ |
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 answered 06 Jun '13, 09:50 Frederik Ramm ♦ |