Skip to content

Instantly share code, notes, and snippets.

@geomantic
Last active July 22, 2018 23:49
Show Gist options
  • Save geomantic/b12470cbc70c8b39f2586b9e7e68a622 to your computer and use it in GitHub Desktop.
Save geomantic/b12470cbc70c8b39f2586b9e7e68a622 to your computer and use it in GitHub Desktop.
FindNoAddresses_OverpassTurbo
// collect all business nodes in a named set 'poi'
(
// amenity nodes
nwr[amenity][amenity~"restaurant|post_office|bar|cafe|pub|fast_food|biergarten|ice_cream|pharmacy|bank|school|place_of_worship|library|fuel|clinic|dentist|doctors|fire_station"]({{bbox}});
// tourism nodes
nwr[tourism][tourism~"museum|office|apartment|hotel|motel|hostel"]({{bbox}});
// shop nodes
nwr[shop]({{bbox}});
)->.businesses;
// collect to-survey results
(
nwr.businesses[!"addr:street"]->.no_street_address;
);
out meta center;
out body;
>;
out skel qt;
@geomantic
Copy link
Author

This queries a wide range of POIs for address data, identifying those w/out (at least) a street name. The resulting map can be printed for field use. HT @martijn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment