Skip to content

Instantly share code, notes, and snippets.

@govvin
Last active May 2, 2018 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save govvin/a1e6ee6c25bee0c896e6e7ed5a5e974e to your computer and use it in GitHub Desktop.
Save govvin/a1e6ee6c25bee0c896e6e7ed5a5e974e to your computer and use it in GitHub Desktop.
Overpass Turbo quey for tags utilized by Pokemon Go for nest tags, to check for suspicious edits in the Philippines. Filter out my own edits.
// search for Pokemon nests
[out:json][timeout:250];
{{date="2018-04-23T00:00:00Z+8"}}
//avoid false positives by filtering
//known LoCo mappers: maning, GOwin, Rally, Seav
{{party=uid: 1417, 1041828, 24338, 11126}}
(
{{geocodeArea:Philippines}};
)->.searchArea;
// gather their results
(
//park
way["leisure"="park"](newer:{{date}})({{party}})(area.searchArea);
relation["leisure"="park"](newer:{{date}})({{party}})(area.searchArea);
//garden
way["leisure"="garden"](newer:{{date}})({{party}})(area.searchArea);
relation["leisure"="garden"](newer:{{date}})({{party}})(area.searchArea);
//recreation ground
way["leisure"="recreation_ground"](newer:{{date}})({{party}})(area.searchArea);
relation["leisure"="recreation_ground"](newer:{{date}})({{party}})(area.searchArea);
//pitch
way["leisure"="pitch"](newer:{{date}})({{party}})(area.searchArea);
relation["leisure"="pitch"](newer:{{date}})({{party}})(area.searchArea);
//playground
way["leisure"="playground"](newer:{{date}})({{party}})(area.searchArea);
relation["leisure"="playground"](newer:{{date}})({{party}})(area.searchArea);
//golf_course
way["leisure"="golf_course"](newer:{{date}})({{party}})(area.searchArea);
relation["leisure"="golf_course"](newer:{{date}})({{party}})(area.searchArea);
//recreation_ground
way["landuse"="recreation_ground"](newer:{{date}})({{party}})(area.searchArea);
relation["landuse"="recreation_ground"](newer:{{date}})({{party}})(area.searchArea);
//meadow
way["landuse"="meadow"](newer:{{date}})({{party}})(area.searchArea);
relation["landuse"="meadow"](newer:{{date}})({{party}})(area.searchArea);
//grass
way["landuse"="grass"](newer:{{date}})({{party}})(area.searchArea);
relation["landuse"="grass"](newer:{{date}})({{party}})(area.searchArea);
)->.myEdits;
// gather their results
(
//park
way["leisure"="park"](newer:{{date}})(area.searchArea);
relation["leisure"="park"](newer:{{date}})(area.searchArea);
//garden
way["leisure"="garden"](newer:{{date}})(area.searchArea);
relation["leisure"="garden"](newer:{{date}})(area.searchArea);
//recreation ground
way["leisure"="recreation_ground"](newer:{{date}})(area.searchArea);
relation["leisure"="recreation_ground"](newer:{{date}})(area.searchArea);
//pitch
way["leisure"="pitch"](newer:{{date}})(area.searchArea);
relation["leisure"="pitch"](newer:{{date}})(area.searchArea);
//playground
way["leisure"="playground"](newer:{{date}})(area.searchArea);
relation["leisure"="playground"](newer:{{date}})(area.searchArea);
//golf_course
way["leisure"="golf_course"](newer:{{date}})(area.searchArea);
relation["leisure"="golf_course"](newer:{{date}})(area.searchArea);
//recreation_ground
way["landuse"="recreation_ground"](newer:{{date}})(area.searchArea);
relation["landuse"="recreation_ground"](area.searchArea);
//meadow
way["landuse"="meadow"](newer:{{date}})(area.searchArea);
relation["landuse"="meadow"](newer:{{date}})(area.searchArea);
//grass
way["landuse"="grass"](newer:{{date}})(area.searchArea);
relation["landuse"="grass"](newer:{{date}})(area.searchArea);
)->.theirEdits;
//filter
(
.theirEdits;
-
.myEdits;
);
out body;
>;
out skel qt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment