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

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

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:

×710
×236
×85
×43

question asked: 29 Aug '13, 13:44

question was seen: 2,078 times

last updated: 29 Aug '13, 13:46

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