[OSM-talk] Overpass area query gives results outside area...
Jean-Marc Liotier
jm at liotier.org
Wed Nov 6 14:35:15 UTC 2013
On 06/11/2013 15:12, Jean-Marc Liotier wrote:
> But why is 3600000000 the magic number ?
I find in my notes that I had also tried using that magic numbered
identifier. For example, http://overpass-turbo.eu/s/1qn :
area[name="Dakar"](area:3600192775);
out;
The area selection does not work, whereas http://overpass-turbo.eu/s/1qo :
node [name="Dakar"]
(area:3600192775);
out;
Works. So it may not just a problem with the identifier... Intersecting
with an area works for nodes, ways and relations but may not work well
for areas. Should I stick with just nodes, ways and relations for now ?
Here is the sort of thing I'm actually doing: http://overpass-turbo.eu/s/1qp
(
node [name="Fatick"](area:3600192775);<;
way [name="Fatick"](area:3600192775);<;
rel [name="Fatick"](area:3600192775);<;
area [name="Fatick"](area:3600192775);<;
);
out;
It works well, as far as I can tell - even for areas... But then there
may not be other areas named 'Fatick' elsewhere in the world. More tests
needed maybe ?
Anyway how overpass-turbo serves such queries so quickly is a complete
mystery to me... What a wonderful service !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20131106/3e23f808/attachment.html>
More information about the talk
mailing list