This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Find relation id by way id

1

When searching for a particular street, I obtained a 'way' object ( https://www.openstreetmap.org/way/23497173 ) which consists out of 7 nodes. The api ( https://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


One Answer:

4

answered 20 Aug '15, 20:29

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Source code available on GitHub .