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

Fabian Schmidt fschmidt at informatik.uni-leipzig.de
Fri Nov 8 15:16:24 UTC 2013


Am 06.11.13 schrieb Jean-Marc Liotier:

> I need to extract objects that fall within the bounds of Senegal - so I 
> turned to the Overpass API... But it seems that my level of understanding 
> does not yet match its power. I need your help !
>
> As an exercise, let's find Dakar in Senegal - http://overpass-turbo.eu/s/1qa 
> :
>
>    area[name="Senegal"];
>    (area
>        [name="Dakar"]
>        (area);
>         <;
>    );
>    out;

   area[name="Senegal"];
   node(area)[name="Dakar"];
   out;

returns a place=city, place=state and a container harbour, but not Dakar 
in San Sebastián.


More information about the talk mailing list