This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

OSM API access/Map display howto?

0

Hello,

i read OSM map and cluster data of OSM. Now, I would like to draw my output, which is simply a colored circle surround some cooridnates back on to the map to check my data. Could anyone tell me how to do that or any suggestion will be appreciated very much.

Thank you! Jantong S.

asked 05 Aug '12, 15:30

jantong's gravatar image

jantong
11112
accept rate: 0%


2 Answers:

1

Are you looking for something to display this data in a web browser, like Leaflet, or something for larger datasets, like Mapnik and/or TileMill?

answered 06 Aug '12, 16:11

mcw's gravatar image

mcw
41677
accept rate: 6%

How to use Mapnik? If I want to display the map with other functions just like google map, such as zoom, what can i do ?

(06 Aug '12, 18:38) tataT9

1

Hi jantong and tataT9, For your tasks Openlayers framework would be suitable. Link for the docs : http://dev.openlayers.org/docs/files/OpenLayers-js.html

answered 07 Aug '12, 06:58

buddhima's gravatar image

buddhima
1166711
accept rate: 0%

Thank you for your advice. I want to use the data of OSM offline, but Openlayers need to connect to the tile server. Is there a project can do this for windows, Just like mapsforge for android?

(07 Aug '12, 11:04) tataT9
1

A certain collection of possibilities are listet at https://wiki.openstreetmap.org/wiki/Offline_Openstreetmap but it can be outdated.

Also have a look at https://wiki.openstreetmap.org/wiki/Software/Desktop and investigate the tables there about offline data display or tile display.

(07 Aug '12, 17:17) stephan75

Source code available on GitHub .