I need to get an osm file which contain nodes, ways and relations of bicycle stations in Lyon, France. I will use this file for simulation using SUMO, so I need to convert it to an .net.xml file. Without relations I can't convert it to .net.xml file.
2015-11-30 14:39 GMT+01:00 Marc Gemis <marc.ge...@gmail.com>: > Reply in English, because original post was in English > > > This query returns only relations with the tags amenity=bicycle_rental > and network=Velo'V. > In case there are no such relations, the query will not return them. > I would expect that most bicycle_rental places are mapped as node and > occasionally as (closed) ways. I see no need to map them as relations. > > regards > m > > On Mon, Nov 30, 2015 at 2:35 PM, Yosra Zguira <zguirayo...@gmail.com> > wrote: > > Hello, > > > > I use the Overpass API to get osm data. I have this query: > > > > /* > > This has been generated by the overpass-turbo wizard. > > The original search was: > > “amenity=bicycle_rental and network="Vélo'v" in "Lyon, France"” > > */ > > [timeout:25]; > > // fetch area “Lyon, France” to search in > > {{geocodeArea:Lyon, France}}->.searchArea; > > // gather results > > ( > > // query part for: “amenity=bicycle_rental and network="Vélo'v"” > > node["amenity"="bicycle_rental"]["network"="Vélo'v"](area.searchArea); > > way["amenity"="bicycle_rental"]["network"="Vélo'v"](area.searchArea); > > > relation["amenity"="bicycle_rental"]["network"="Vélo'v"](area.searchArea); > > > > way[highway](area.searchArea); > > ); > > > > // print results > > out body; > >>; > > out skel qt; > > > > 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? > > > > > > _______________________________________________ > > Talk-fr mailing list > > Talk-fr@openstreetmap.org > > https://lists.openstreetmap.org/listinfo/talk-fr > > > > _______________________________________________ > Talk-fr mailing list > Talk-fr@openstreetmap.org > https://lists.openstreetmap.org/listinfo/talk-fr >
_______________________________________________ Talk-fr mailing list Talk-fr@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-fr