Skip to content

Instantly share code, notes, and snippets.

@62mkv
Last active May 11, 2024 21:32
Show Gist options
  • Save 62mkv/8748f77e062dcad248675f6c48438809 to your computer and use it in GitHub Desktop.
Save 62mkv/8748f77e062dcad248675f6c48438809 to your computer and use it in GitHub Desktop.
OpenStreetMap / OverPass cheatsheet

Find all car repairs services, open on Saturday:

Open http://overpass-turbo.eu/ and paste this into query area, then press "Run"

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“shop=car_repair”
*/
[out:json][timeout:25];
// gather results
(
  // query part for: “shop=car_repair”
  node["shop"="car_repair"]["opening_hours"~"Sa"]({{bbox}});
);
// print results
out body;
>;
out skel qt;

Hint: there're two modes of results presentation: see upper right area - Map/Data

Hint: you can "manually select bbox"

Documentation about the Overpass Query Language: https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#

List of possible tags: https://taginfo.openstreetmap.org/tags/

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