<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div>There were few examples given over the last year. To use the relation no., you need to add 3600000000 to it.<br><br> 192775 Relation<br>+ 3600000000<br>= 3600192775<br><br>These instructiions extract all nodes with the tag place inside the limits of Dakar.<br><br>node ["place"]<br>(area:3600192775);<br>out meta;<br> <br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span style="font-style:italic;color:rgb(0, 0, 191);font-weight:bold;">Pierre <br></span><br></div> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div
style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">De :</span></b> Martin Raifer <tyr.asd@gmail.com><br> <b><span style="font-weight: bold;">À :</span></b> talk@openstreetmap.org <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Mercredi 6 novembre 2013 8h28<br> <b><span style="font-weight: bold;">Objet :</span></b> Re: [OSM-talk] Overpass area query gives results outside area...<br> </font> </div> <div class="y_msg_container"><br>Hi!<br clear="none"><br clear="none">> As an exercise, let's find Dakar in Senegal<br clear="none"><br clear="none">Searching areas by area is not yet supported in Overpass API. See this <br clear="none">feature request:<br clear="none"><br clear="none"> <a shape="rect"
href="https://github.com/drolbr/Overpass-API/issues/45" target="_blank">https://github.com/drolbr/Overpass-API/issues/45</a><br clear="none"><br clear="none">> Well... Maybe area selection is inoperative. Let's try with a good old <br clear="none">> bounding box<br clear="none"><br clear="none">This is also not yet implemented, unfortunately:<br clear="none"><br clear="none"> <a shape="rect" href="https://github.com/drolbr/Overpass-API/issues/55" target="_blank">https://github.com/drolbr/Overpass-API/issues/55</a><br clear="none"><br clear="none"><br clear="none">If you only want to get the administrative area "Dakar": Why not simply <br clear="none">using something like this:<br clear="none"><br clear="none"> area[name="Dakar"][boundary=administrative];<br clear="none"> out;<br clear="none"><br clear="none">This works as long as there isn't another city with the same name <br clear="none">somewhere else.<br
clear="none"><br clear="none">Martin<div class="yqt0990076169" id="yqtfd35090"><br clear="none"><br clear="none">_______________________________________________<br clear="none">talk mailing list<br clear="none"><a shape="rect" ymailto="mailto:talk@openstreetmap.org" href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br clear="none"><a shape="rect" href="https://lists.openstreetmap.org/listinfo/talk" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br clear="none"></div><br><br></div> </div> </div> </div></body></html>