Hello, I use the Overpass API to get osm data. I use this query from this link: http://overpass-turbo.eu/s/cQQ Whe I ran it, it generated only nodes and ways and not relations. How can I please modify this query in order to download an osm file which containes nodes, ways and relations? asked 30 Nov '15, 13:53 MyriamBah |
cross-posted on the French mailing list: https://lists.openstreetmap.org/pipermail/talk-fr/2015-November/078876.html . There I explained that when there are no relations with tags fulfilling the conditions specified in the Overpass query, no relations will be returned.
Why are relations needed in your specific example? Your current question reads like "I need the number of legs of humans, dogs and snakes". But snakes usually don't have any legs. Likewise, amenity=bicycle_rental is usually not mapped as relation.
There are 27 mapped as relations according to https://taginfo.openstreetmap.org/tags/amenity=bicycle_rental . That may be a mistagging, but they do exist.