Skip to content

Instantly share code, notes, and snippets.

@govvin
Last active April 27, 2017 11:14
Show Gist options
  • Save govvin/9f2e897be6491f3b1aa9 to your computer and use it in GitHub Desktop.
Save govvin/9f2e897be6491f3b1aa9 to your computer and use it in GitHub Desktop.
Overpass Turbo Query for edits made during mapathons, and similar mapping events.

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:}}

[out:json][timeout:500];
(
  node(changed:{{dates}})({{bbox}});
  way(changed:{{dates}})({{bbox}});
  relation(changed:{{dates}})({{bbox}});
)->.EventEdits;

(
  node.EventEdits({{party}});
  way.EventEdits({{party}});
  relation.EventEdits({{party}});
);

out;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment