[OSM-talk] Overpass area query gives results outside area...

Martin Raifer tyr.asd at gmail.com
Wed Nov 6 13:28:23 UTC 2013


Hi!

> As an exercise, let's find Dakar in Senegal

Searching areas by area is not yet supported in Overpass API. See this  
feature request:

   https://github.com/drolbr/Overpass-API/issues/45

> Well... Maybe area selection is inoperative. Let's try with a good old  
> bounding box

This is also not yet implemented, unfortunately:

   https://github.com/drolbr/Overpass-API/issues/55


If you only want to get the administrative area "Dakar": Why not simply  
using something like this:

   area[name="Dakar"][boundary=administrative];
   out;

This works as long as there isn't another city with the same name  
somewhere else.

Martin



More information about the talk mailing list