Created
August 3, 2018 17:14
-
-
Save geomantic/beed9711b04b6155c4db31ccee62a8ad to your computer and use it in GitHub Desktop.
Find all public buildings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Function finds all publicly-owned buildings without street addresses | |
// collect all business nodes in a named set 'poi' | |
( | |
// building nodes | |
nwr[building][building~"school|civic|government|hospital|stadium|train_station|school|public|fire_station"]({{bbox}}); | |
// office nodes | |
nwr[office][office~"government"]({{bbox}}); | |
// military nodes | |
nwr[military]({{bbox}}); | |
)->.publicbldgs; | |
// collect to-survey results | |
( | |
nwr.publicbldgs[!"addr:street"]->.no_street_address; | |
); | |
out meta center; | |
out body; | |
>; | |
out skel qt; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment