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

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.6k18248554


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 ♦
44.7k13326701
accept rate: 18%

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:

×440
×315
×293

question asked: 15 Jan '17, 16:48

question was seen: 7,442 times

last updated: 29 Mar '17, 22:49

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