Created
May 12, 2021 02:09
-
-
Save govvin/485799d070d031fb85475c94001e3ace to your computer and use it in GitHub Desktop.
Query for boundary relations with missing "admin_centre" roles
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
/* | |
Question: Boundary relations without "admin_centre" role nodes | |
Overpass Turbo query: http://overpass-turbo.eu/s/17ef | |
For admin_level details, see https://osm.org/wiki/Philippines/Mapping_conventions#Administrative_boundaries | |
*/ | |
[out:json][timeout:600]; | |
area[admin_level=2]["name"="Philippines"][boundary=administrative]->.NominatimArea; | |
( rel(area.NominatimArea)[boundary=administrative][admin_level=6]; - | |
( node(r:"admin_centre")->.a; | |
rel(bn.a)[boundary=administrative][admin_level=6]; | |
); | |
); | |
out geom; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment