There were few examples given over the last year. To use the relation no., you
need to add 3600000000 to it.
192775 Relation
+ 3600000000
= 3600192775
These instructiions extract all nodes with the tag place inside the limits of
Dakar.
node ["place"]
(area:3600192775);
out meta;
Pierre
________________________________
De : Martin Raifer <tyr....@gmail.com>
À : talk@openstreetmap.org
Envoyé le : Mercredi 6 novembre 2013 8h28
Objet : Re: [OSM-talk] Overpass area query gives results outside area...
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
_______________________________________________
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk
_______________________________________________
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk