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

Openstreetmap export option: how is it made?

2
1

I'm running my own mapserver with OpenStreetMap and i'd like to add an export function like on OpenStreetMap

Where can i find an example (html / javascript / ...)

I can't find any information about the export functionality other then links to the OpenStreetMap home page.

asked 26 Dec '12, 10:57

Robertico's gravatar image

Robertico
66336
accept rate: 0%

edited 02 Apr '15, 21:17

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


One Answer:

6

You can find the Ruby code for the export tab itself here. When you push the export button this Python script is executed or an api call is made, as can be found here.

(There might be a newer version of the Python script somewhere.)

answered 26 Dec '12, 14:08

cartinus's gravatar image

cartinus
7.0k1066105
accept rate: 27%

1

@cartinus: Thank you very much !! I'll give it a try.

(27 Dec '12, 06:31) Robertico

Source code available on GitHub .