- Go to http://overpass-turbo.eu/
- Put in one example query in this gist
- Wait for the result
- If you want to change the name, you need the right name for the lookup, this can be looked up like here: https://www.openstreetmap.org/relation/218657
Last active
May 18, 2023 14:08
-
-
Save gitfvb/80119153374cb37581897ce5f25f3819 to your computer and use it in GitHub Desktop.
Overpass Turbo queries with http://overpass-turbo.eu/
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
area["name"="Aachen"][boundary=administrative]->.myarea; | |
rel(area.myarea)["boundary"="postal_code"]; | |
out geom; |
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
/* all postal codes in Austria */ | |
area["name:en"="Austria"][boundary=administrative]->.myarea; | |
rel(area.myarea)[postal_area~".*"]; | |
/*added by auto repair*/ | |
(._;>;); | |
/*end of auto repair*/ | |
out; |
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
/* all banks in aachen */ | |
area["name"="Aachen"]->.boundaryarea; | |
( | |
nwr(area.boundaryarea)[amenity=bank]; | |
); | |
out meta; |
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
/* all postcodes in belgium */ | |
area["name"="België / Belgique / Belgien"][boundary=administrative]->.myarea; | |
rel(area.myarea)["boundary"="postal_code"]; | |
out geom; |
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
/* all postal codes in nederlands */ | |
area["name:de"="Niederlande"]->.myarea; | |
rel(area.myarea)[boundary=administrative][admin_level=10]; | |
/*added by auto repair*/ | |
(._;>;); | |
/*end of auto repair*/ | |
out; |
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
/* Get all boundaries around Rotterdam */ | |
area[name="Rotterdam"]; | |
( | |
node(area); | |
<; | |
) -> .a; | |
( | |
rel.a["boundary"="administrative"]; | |
); | |
/*added by auto repair*/ | |
(._;>;); | |
/*end of auto repair*/ | |
out meta qt; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment