NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

Matsli
76228
accept rate: 0%

edited 20 Aug '15, 21:14

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


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 ♦
82.5k927201273
accept rate: 23%

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:

×290
×128
×91

question asked: 20 Aug '15, 20:26

question was seen: 9,027 times

last updated: 20 Aug '15, 21:14

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