How can I find nodes with "addr:housenumber" inside buildings with Overpass? I've found this snippet, but it doesn't work:
asked 08 Oct '18, 16:40 Norske |
Well, here's a script that will get you some results, but it isn't really correct: [timeout:30]; way[building]({{bbox}}); ( node(around:5)["addr:housenumber"]; ); out meta; Some things to note:
If there's a way to actually filter whats inside the perimeters of the buildings, rather than using answered 08 Oct '18, 21:24 jmapb But with around I can't really check whether the node is inside or outside: https://overpass-turbo.eu/s/CBX
(08 Oct '18, 21:52)
Norske
That's right -- it gives both false positives and false negatives. That's why I said it isn't really correct. I'd like to know the correct answer too, if there is one!
(09 Oct '18, 00:54)
jmapb
1
This enhancement request may be relevant https://github.com/drolbr/Overpass-API/issues/77
(09 Oct '18, 08:26)
andrewblack
|
Just curious, why do you need this query?