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

[closed] Difference between a way and a relation route

0

I am interested in extracting all of the bycle routes from witihn certain coordinates. I found that it could be done like thus:

http://www.overpass-api.de/api/xapi?way[bicycle=yes][bbox=32.744,35.267,33.04,35.729]

meaning I extracted all of the ways with the tag "bicycle", within a range of coordinates.

However, I've read in the OSM wiki that bike routes are represented as relations of the type "route". Upon checking the XML database of OSM, I found ways, tagged as "bicycle", that don't even exist in any relations.

What is the right way to find bike-routes? using ways or using relations?

asked 29 Aug '13, 13:44

yehudit's gravatar image

yehudit
61667
accept rate: 0%

closed 29 Aug '13, 13:46

Vclaw's gravatar image

Vclaw
9.2k895141

The question has been closed for the following reason “Duplicate of https://help.openstreetmap.org/questions/25927/difference-between-a-way-and-a-relation-route" by Vclaw 29 Aug ‘13, 13:46

Source code available on GitHub .