Skip to content

Instantly share code, notes, and snippets.

@govvin
Created March 8, 2016 03:03
Show Gist options
  • Save govvin/7a20bb7333920977859d to your computer and use it in GitHub Desktop.
Save govvin/7a20bb7333920977859d to your computer and use it in GitHub Desktop.
mappers around a certain geographic coordinate
/**/
[out:csv(::user, ::uid)]
//[out:json][timeout:25]
[diff:"2016-02-22T00:00:00+8","2016-03-06T23:59:59+8"];

// adjust the search radius (in meters) here
{{radius=3000}}

// gather results
(
  /*  use geocodeCoords
  node(around:{{radius}},{{geocodeCoords:San Francisco, Agusan del Sur, Caraga, Philippines}});
  way(around:{{radius}},{{geocodeCoords:San Francisco, Agusan  del Sur, Caraga, Philippines}});
  */
  
  /* use bbox */
  node({{bbox}}); way({{bbox}});
);
// print results
out meta;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment