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

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


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.)

permanent link

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

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:

×315
×113
×29

question asked: 26 Dec '12, 10:57

question was seen: 4,922 times

last updated: 02 Apr '15, 21:17

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