In a city-sized area, I'm looking for buildings that have more levels than 12. I know that those are tagged with Is this the right tool? If so, how should I do this? If not - should I perhaps get an OSM extract and process it as XML with some other tool? asked 26 Feb '16, 10:18 Piskvor |
I have found a way to hack around this in Overpass Turbo. Apparently, it's not possible to directly compare numbers, but it's possible to use regex - match "100-499" or match "20-99" or match "13-19". It's still not foolproof (fortunately, this key is unitless), but works with buildings up to 499 floors:
(Yes, I'm aware that with regex, I now have two problems ;)) answered 26 Feb '16, 11:33 Piskvor |
Try
Based on Overpass API/Overpass API by Example: Buildings that are taller than they are wide answered 14 Jan '22, 08:37 Marc |
@mmd: While fiddling with the OpT query, I have found a working solution - I had a typo in there :(
BTW: Here's a link to the respective feature request: https://github.com/drolbr/Overpass-API/issues/78