<div dir="ltr">Thank you very much Marc for your explanation. I understood well the concept of Overpass Query.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-30 15:02 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"><span class="">On Mon, Nov 30, 2015 at 2:47 PM, Yosra Zguira <<a href="mailto:zguirayosra@gmail.com">zguirayosra@gmail.com</a>> wrote:<br>
> I need to get an osm file which contain nodes, ways and relations of bicycle<br>
> stations in Lyon, France. I will use this file for simulation using SUMO, so<br>
> I need to convert it to an .net.xml file. Without relations I can't convert<br>
> it to .net.xml file.<br>
><br>
<br>
</span>I saw this question on the help website as well.<br>
The Overpass query only returns the objects that fulfil the criteria<br>
that you specify. When there are no relations with the requested tags,<br>
it will not return relations. Which relations would you expect ?<br>
<br>
With your query you will only receive bicycle rental station, nothing<br>
else, no roads, no houses, nothing but nodes, ways and relations<br>
representing bicycle rental stations. When there are no nodes, ways or<br>
relations with those tags, you will not retrieve nodes or ways or<br>
relations.<br>
In case there are no nodes with those tags, but only ways, you still<br>
retrieve the nodes that are used in the ways, but not other nodes.<br>
<br>
There is no requirement for .osm files to contain relations. In case<br>
your conversion program needs relations, you will have to add<br>
something to the file generated by Overpass. But what ? There are no<br>
relations after all.<br>
<br>
<br>
regards<br>
<span class="HOEnZb"><font color="#888888"><br>
m<br>
</font></span><div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div>