The export from OpenStreetMap seems to be broken. I only get:

Error Missing or invalid token

This should be displayed when using the API programmatically, but I get it every time I use the interactive export feature on openstreetmap.org

The offending URL is: http://render.openstreetmap.org/cgi-bin/export?bbox=7.113443613052369,51.02827473620841,7.117483019828796,51.03135161256763&scale=1400&format=pdf

asked 15 Jan '17, 16:48

Natureshadow's gravatar image

Natureshadow
26113
accept rate: 0%

edited 31 Jan '17, 22:18

aseerel4c26's gravatar image

aseerel4c26 ♦
32.1k16239551


The API is a not really documented not really public API, sorry.

A manual alternative might be http://extract.bbbike.org/ that has a number of different SVG output styles.

More possible alternatives can be found here http://wiki.openstreetmap.org/wiki/SVG and maybe http://maposmatic.org/

permanent link

answered 31 Jan '17, 22:34

SimonPoole's gravatar image

SimonPoole ♦
38.4k13286610
accept rate: 19%

edited 01 Feb '17, 06:36

2

How is something triggered verbatim by a button right on the openstreetmap.org front page not a public API…

(31 Jan '17, 22:56) Natureshadow
2

A public API is an interface intended to used by 3rd party applications, this was never. IIRC the change was and is due to scraping via the function and is unlikely to be reverted.

(01 Feb '17, 06:30) SimonPoole ♦

That still leaves some users who can not find or understand this bug report with an unusable, but existing, "download" button, right? I am still testing which of my Firefox addons is responsible for this.

(29 Mar '17, 22:49) quazgar
Your answer
toggle preview

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:

×387
×279
×235

question asked: 15 Jan '17, 16:48

question was seen: 4,858 times

last updated: 29 Mar '17, 22:49

powered by OSQA