overpass turbo query for mapathon edits
{{party=uid: 1041828, 24338, 24338, 1577427, 6088831, 6088818, 5548564, 4892460, 4892371, 6088824, 4645947}}
[diff: "2017-05-29T07:00:00Z","2017-05-30T23:59:59Z"]
[out:json]
[timeout:200];
[out:xml][timeout:90][bbox:29.4013195,33.8818359,33.4131022,36.0791016] | |
; | |
( | |
area(3600443174); // Philippines | |
area(3600147488); // National Capital Region | |
)->.a; | |
( | |
node["highway"="bus_stop"](area.a); | |
way["highway"="bus_stop"](area.a); |
/* | |
number of village halls in a province | |
*/ | |
[out:csv(::id,"name",::lat,::lon,::is_in;false)] | |
[timeout:60]; | |
area["name"="Calabarzon"]->.territory; | |
way(area.territory)["townhall:type"="village"]; | |
foreach( | |
node(w)->.n; | |
.n is_in->.a; |
/* | |
See: https://git.io/vFCea | |
*/ | |
[out:csv("ISO3166-2", name, total )][timeout:500]; | |
{{period="2017-10-31T23:59:59Z"}} | |
//All PH regions | |
area["ISO3166-2"~"^PH"][admin_level=3][boundary=administrative]; | |
// Count the occurunces in each area |
/* | |
OSMph Papercuts issue #11 - https://git.io/vFCea | |
*/ | |
[out:csv(name, total )]; | |
//All PH regions | |
area["ISO3166-2"~"^PH.*"][admin_level=3]; | |
// Count the occurunces in each area |
Overpass Turbo Query to return all edits made by users enumerated by UID, within a {{bbox}}.
Use http://whosthat.osmz.ru to determine OSM uid of users. UID is used, instead of usernames, to work around the possibility of users changing their names later on.
// set variables
{{dates="2017-04-26T00:00:00Z", "2017-04-27T23:59:59Z"}}
{{party=uid: 3529916, 3529870, 3091096, 3529864, 2734688, 1041828, 3529877, 3529856, 3529972, 3529907, 3529855}}
//{{party=user:}}
/* | |
This has been generated by the overpass-turbo wizard. | |
The original search was: | |
“(tourism=viewpoint || tourism=attraction || tourism=artwork) && (name ~ /street$/i || name ~ /str[.]/i) && type:node in philippines” | |
*/ | |
[out:json][timeout:250]; | |
// fetch area “philippines” to search in | |
{{geocodeArea:philippines}}->.searchArea; | |
// gather results | |
( |
/* | |
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 | |
( |