Last active
March 31, 2019 01:40
-
-
Save vool/fe1f618afdcc6cc59900 to your computer and use it in GitHub Desktop.
Random Overpass Turbo Queries.For extracting OSM data.
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
/* | |
Overpass query to get all the counties in Ireland. | |
http://overpass-turbo.eu/s/9N3 | |
Note: | |
County relations are taged as: | |
"boundary"="administrative" in the Republic | |
and | |
"boundary"="historic" in Northern Ireland | |
*/ | |
[out:json][timeout:900]; | |
( | |
area["name"="Republic of Ireland"]; | |
area["name"="Northern Ireland"]; | |
); | |
relation(area) | |
["boundary"~"administrative|historic"] | |
["admin_level"="6"]; | |
(._;>;); | |
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 nodes in Ireland (Island) with lis|lios|rath|cashel in their name | |
https://overpass-turbo.eu/s/HwU | |
*/ | |
[out:json]; | |
// fetch areas to search in | |
{{geocodeArea:Ireland}}->.ie; | |
{{geocodeArea:Northern Ireland}}->.ni; | |
( | |
node["name"~"lis|lios|rath|cashel",i](area.ie); | |
node["name"~"lis|lios|rath|cashel",i](area.ni); | |
// or to just select towns & villages | |
//node["place"~"village|town|city"]["name"~"bally|lis|lios|rath|cashel",i](area.ie); | |
); | |
out body; | |
>; | |
out skel qt; |
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 townlands in Ireland (Island) with lis|lios|rath|cashel in the name | |
*/ | |
[out:json]; | |
// fetch areas to search in | |
{{geocodeArea:Ireland}}->.ie; | |
{{geocodeArea:Northern Ireland}}->.ni; | |
( | |
relation["locality"="townland"]["name"~"lis|lios|rath|cashel",i](area.ie); | |
relation["locality"="townland"]["name"~"lis|lios|rath|cashel",i](area.ni); | |
); | |
out body; | |
>; | |
out skel qt; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment