<div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-30 14:39 GMT+01:00 Marc Gemis <span dir="ltr"><<a href="mailto:marc.gemis@gmail.com" target="_blank">marc.gemis@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Reply in English, because original post was in English<br>
<br>
<br>
This query returns only relations with the tags amenity=bicycle_rental<br>
and network=Velo'V.<br>
In case there are no such relations, the query will not return them.<br>
I would expect that most bicycle_rental places are mapped as node and<br>
occasionally as (closed) ways. I see no need to map them as relations.<br>
<br>
regards<br>
m<br>
<div><div class="h5"><br>
On Mon, Nov 30, 2015 at 2:35 PM, Yosra Zguira <<a href="mailto:zguirayosra@gmail.com">zguirayosra@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I use the Overpass API to get osm data. I have this query:<br>
><br>
> /*<br>
> This has been generated by the overpass-turbo wizard.<br>
> The original search was:<br>
> “amenity=bicycle_rental and network="Vélo'v" in "Lyon, France"”<br>
> */<br>
> [timeout:25];<br>
> // fetch area “Lyon, France” to search in<br>
> {{geocodeArea:Lyon, France}}->.searchArea;<br>
> // gather results<br>
> (<br>
> // query part for: “amenity=bicycle_rental and network="Vélo'v"”<br>
> node["amenity"="bicycle_rental"]["network"="Vélo'v"](area.searchArea);<br>
> way["amenity"="bicycle_rental"]["network"="Vélo'v"](area.searchArea);<br>
> relation["amenity"="bicycle_rental"]["network"="Vélo'v"](area.searchArea);<br>
><br>
> way[highway](area.searchArea);<br>
> );<br>
><br>
> // print results<br>
> out body;<br>
>>;<br>
> out skel qt;<br>
><br>
> Whe I ran it, it generated only nodes and ways and not relations.<br>
> How can I please modify this query in order to download an osm file which<br>
> containes nodes, ways and relations?<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Talk-fr mailing list<br>
> <a href="mailto:Talk-fr@openstreetmap.org">Talk-fr@openstreetmap.org</a><br>
> <a href="https://lists.openstreetmap.org/listinfo/talk-fr" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-fr</a><br>
><br>
<br>
_______________________________________________<br>
Talk-fr mailing list<br>
<a href="mailto:Talk-fr@openstreetmap.org">Talk-fr@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-fr" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-fr</a><br>
</blockquote></div><br></div>