Is there a way to automatically count houses in a street/area? asked 14 Sep '16, 12:19 hoatzin64 |
This query will generate a csv of all the "houses" in your current view. Just scroll down to see the number of records in the file. This query does the exact same thing, but visualizes them on a map. You can then export them in any number of formats. You can also draw a bounding box on the map to have better control of what gets counted. You need both "way" and "relation", because houses with a courtyard are relations in the OSM data model. Houses might be mapped as building=yes, not building=house. To get all buildings instead, simply replace ["building"="house"] with ["building"]. If this does not answer your question, please edit your question to clarify what exactly you're trying to do. If it does, please mark the V next to this answer to mark your question as answered. answered 14 Sep '16, 14:16 joost schouppe |