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];
/* | |
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 |
/* | |
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 | |
( |
#URIs that work with Overpass Turbo Go to Settings > Map and change the URI to your server of choice.
The default is: //{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
The following tile servers also work:
//{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png
//tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png
There are several ways to query for modifications using OverPass, with slightly varying results. Use wisely.
##Using diffs
//Overpass QL for querying results
//http://overpass-turbo.eu/s/b6e
//[out:csv(::lat,::lon,::type, ::version, ::user, place,name)]
[diff:"2016-05-07T00:00:00+8","2016-05-14T00:00:00+8"];