Why not ask your question on the new OpenStreetMap Community Forum?

When searching for a particular street, I obtained a 'way' object ( http://www.openstreetmap.org/way/23497173 ) which consists out of 7 nodes. The api ( http://www.openstreetmap.org/api/0.6/way/23497173 ) gives a nice overview of the result, but without the link to the relation (the whole street).

Is there a manner to find the relation id by use of the api link?

asked 20 Aug '15, 20:26

Matsli's gravatar image

accept rate: 0%

edited 20 Aug '15, 21:14

aseerel4c26's gravatar image

aseerel4c26 ♦

http://www.openstreetmap.org/api/0.6/way/23497173/relations is what you're looking for. It is documented on the Wiki.

permanent link

answered 20 Aug '15, 20:29

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



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:


question asked: 20 Aug '15, 20:26

question was seen: 8,160 times

last updated: 20 Aug '15, 21:14

powered by OSQA