Created
March 4, 2017 02:38
-
-
Save govvin/ba133658062b405df3a3375c8ce89524 to your computer and use it in GitHub Desktop.
Barangay Halls in San Juan, Metro Manila
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
/* | |
This has been generated by the overpass-turbo wizard. | |
The original search was: | |
“(amenity=townhall && "townhall:type"=village) && (type:node || type:way) || place=village in "San Juan, Metro Manila"” | |
*/ | |
[out:json][timeout:25]; | |
// fetch area “San Juan, Metro Manila” to search in | |
{{geocodeArea:San Juan, Metro Manila}}->.searchArea; | |
// gather results | |
( | |
// query part for: “amenity=townhall and "townhall:type"=village” | |
node["amenity"="townhall"]["townhall:type"="village"](area.searchArea); | |
// query part for: “amenity=townhall and "townhall:type"=village” | |
way["amenity"="townhall"]["townhall:type"="village"](area.searchArea); | |
// query part for: “place=village” | |
node["place"="village"](area.searchArea); | |
way["place"="village"](area.searchArea); | |
relation["place"="village"](area.searchArea); | |
); | |
// print results | |
out body; | |
>; | |
out skel qt; | |
{{style: | |
node, area | |
{ color:white; fill-color:white; } | |
node[amenity=townhall],way[amenity=townhall], | |
area[amenity=townhall], | |
node[townhall:type=village], way[townhall:type=village], area[townhall:type=village]{ | |
icon-image: url('icons/maki/town-hall-24.png'); | |
icon-width: 24; | |
color:blueviolet; fill-color:blueviolet; | |
/*text: name; | |
text-position: line; | |
font-size: medium; | |
*/ | |
} | |
node[place=village],way[place=village],area[place=village], relation[place=village]{ | |
icon-image: url('icons/maki/marker-12.png'); | |
icon-width: 24; | |
color:green; fill-color:green; | |
/*text: name; | |
text-position: line; | |
font-size: medium;*/ | |
} | |
}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment