Last active
May 14, 2018 03:11
-
-
Save govvin/873a0999ccfc1f466846fe6c8ce7b0cb to your computer and use it in GitHub Desktop.
Overpass Turbo Query: Find contributors within an AOI, within a certain date range
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
/* | |
Find contributors within an AOI, within | |
a certain date range | |
source: http://overpass-turbo.eu/s/xjo | |
author: https://t.me/GOwin | |
*/ | |
[out:csv(::user, ::uid, ::timestamp)] | |
//[out:json][timeout:25] | |
[diff:"2017-01-01T00:00:00+8","2018-03-24T23:59:59+8"]; | |
// adjust the search radius (in meters) here | |
{{radius=3000}} | |
{{aoi=geocodeArea: Davao City Philippines}} | |
// gather results | |
( | |
/* use geocodeCoords | |
node(around:{{radius}},{{{{aoi}}}}); | |
way(around:{{radius}},{{{{aoi}}}}); | |
*/ | |
/* use bbox */ | |
node({{bbox}}); way({{bbox}}); | |
); | |
// print results | |
out meta; | |
/* | |
Save the delimited text, and do the followinng from a terminal: | |
cat my_delimited.txt | sort | uniq -c | sort -nr | |
to get a sorted list of mappers, based on their edits. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment