Skip to content

Instantly share code, notes, and snippets.

@leighghunt
Created April 26, 2020 10:16
Show Gist options
  • Save leighghunt/f558108e4426a3047a136bda55b80b1b to your computer and use it in GitHub Desktop.
Save leighghunt/f558108e4426a3047a136bda55b80b1b to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@leighghunt
Copy link
Author

Overpass query:

https://overpass-turbo.eu/s/TiG

/*
This query looks for nodes, ways and relations 
with the given key/value combination.
Choose your region and hit the Run button above!
*/
[out:json][timeout:25];
// gather results
(
  node["amenity"="fast_food"]({{bbox}});
  way["amenity"="fast_food"]({{bbox}});
  //node["name"="McDonald's"]({{bbox}});
  //way["name"="McDonald's"]({{bbox}});
  //node["name"="KFC"]({{bbox}});
  //way["name"="KFC"]({{bbox}});
  //node["brand"="McDonald's"]({{bbox}});
);
// print results
out body;
>;
out skel qt;

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