Overpass Turbo: finding geolocation clues in OpenStreetMap
Overpass Turbo lets you query OpenStreetMap for mapped features such as hotels, cafés, bus stops, bridges, and landmarks - any entity that can be added to the map. Combining these clues can help narrow a search area when a photograph or video contains recognizable features but no obvious location.
This guide walks you through a small-area query, explains how to interpret the results, and outlines the checks required before treating a location as a match.
From visual clues to map features
Start by listing observable clues separately from assumptions. A street scene might show a café, a park, a hotel, a mall, a bus stop, a distinctive road junction, or a building with a particular roofline. Language or road signs may suggest a region, but one clue rarely identifies a location on its own. Adding these clues, however, can help build a more complete picture of the area and guide your search on the map.
Overpass Turbo is a browser-based interface for querying OpenStreetMap through the Overpass API. OpenStreetMap describes features with tags: for example, amenity=cafe and highway=bus_stop. A query can retrieve mapped objects with those tags within a chosen area.
Example: hotels near parks and fountains
Suppose you want to identify a location where a hotel is located near a park and a fountain, and you want to find similar arrangements in a given area. Using Overpass Turbo, you can build your query visually and spatially. This example shows you a simple search for a hotel with a park and a fountain nearby (within 100 meters). In Overpass Turbo, move and zoom the map to the area of interest, and paste the following query into the editor, and select Run:
nwr["leisure"="park"]({{bbox}})->.parks;
nwr["tourism"="hotel"]({{bbox}})->.hotels;
nwr["amenity"="fountain"]({{bbox}})->.fountains;
nwr.parks(around.hotels:100)->.parks_near_hotels;
nwr.parks_near_hotels(around.fountains:100)->.matching_parks;
nwr.hotels(around.matching_parks:100)->.matching_hotels;
nwr.fountains(around.matching_parks:100)->.matching_fountains;
(
.matching_parks;
.matching_hotels;
.matching_fountains;
);
out body;
>;
out skel qt;
{{bbox}} is an Overpass Turbo shortcut for the current map view. nwr searches nodes, ways, and relations; the two statements return both feature types. out center includes coordinates for nodes and a bounding-box center for ways and relations, so those markers are not necessarily entrances or precise feature locations.
The query does not automatically pair hotels and nearby parks or fountains: you need to compare the returned markers and their tags on the map yourself. Zoom further in or move the map and rerun the query to change the search area. Start small to reduce noise and avoid unnecessarily heavy requests to public servers.
Investigate potential locations
- Inspect locations where all matching features of interest appear and open individual results to review their tags.
- Compare the surrounding road layout, building shapes, and other visible landmarks with the source image.
- Check independent sources such as dated street-level imagery, satellite imagery, or local maps. Consider camera angle and when each source was recorded.
- Record the query, search area, access date, candidate locations, supporting evidence, and contradictions so another analyst can reproduce the work.
Adjust the tags to suit the evidence: a bridge or railway station may be a more distinctive starting point than a café. The OpenStreetMap map features reference helps identify relevant tags, and the Overpass QL documentation explains the query language.
Limitations and responsible use
OpenStreetMap is community-maintained: coverage, tags, and positions can be incomplete, inconsistent, or out of date. A missing result does not prove a feature is absent, and a returned result does not prove it existed when the image was captured. A timeout or server error is not an empty result; reduce the search area and try again.
Treat results as leads, not proof. Verify with independent, time-appropriate evidence, avoid exposing private individuals or sensitive information, and follow applicable privacy rules. When publishing maps or data, provide attribution and check the OpenStreetMap license requirements.