#Why this matters
Social platforms and messaging apps strip EXIF GPS tags and timestamps on upload, and files from untrusted sources can carry altered headers. When metadata is missing or unreliable, investigators must verify location and timing from the pixels alone.
Visual geolocation (GEOINT/IMINT) answers two questions: where the camera stood and when the shutter fired. Analysts, journalists, and OSINT CTF players use these techniques to verify incident reports, expose recycled media, and validate physical claims.
#The macro-to-micro visual funnel
Jumping straight to landmark searches fails when no famous monument appears. Work from broad regional filters down to street geometry:
- Observeclimate, script, road markings
- Narrowcountry, region, urban or rural
- QueryOverpass Turbo or map search
- Confirmsatellite angle and shadows
Scan the frame in layers rather than fixating on one detail:
| Clue layer | Observable features | Geographic narrowing |
|---|---|---|
| Environment | Sun angle, vegetation, terrain | Hemisphere and climate zone |
| Language | Street signs, shopfronts, domain TLDs | Country or linguistic region |
| Infrastructure | Driving side, lane paint, bollards, poles | Country or power grid |
| Urban fabric | Tram wires, bus liveries, roof tiles | City or district |
| Sightlines | Foreground and background alignment | Camera coordinates |
At the district level, perspective triangulation places the photographer. Pick two fixed objects at different depths, such as a streetlamp aligned just left of a church spire. A ray drawn through both on a satellite map marks the camera line; moving along that ray changes their apparent separation until the frame matches.
#Finding candidates with OpenStreetMap and Overpass Turbo
Scanning a city map by hand is slow when an image only shows ordinary features like a cafe patio near a tram stop. OpenStreetMap (OSM) stores mapped features as tagged nodes, ways, and relations. Overpass Turbo queries that database with Overpass QL across the current map viewport ({{bbox}}):
[out:json][timeout:25];
(
nwr["railway"="tram_stop"]({{bbox}});
)->.stops;
nwr["amenity"="cafe"](around.stops:100);
out center;This query gathers every railway=tram_stop inside the viewport into .stops, then returns any amenity=cafe within 100 meters. Chaining extra around clauses for waterways or bridges shrinks hundreds of blocks to a few pins.
Prefer permanent civil infrastructure (railway, bridge, waterway) over commercial signs: shops rename or close, while road geometry persists across years. Remember that a query locates the subject, not the photographer; confirm candidates by matching facades and viewing angles against aerial or street-level imagery.
#Shadow analysis and chronolocation
Chronolocation tests whether a claimed capture time matches solar geometry using two angles for a given coordinate and UTC timestamp:
- Solar azimuth: sun compass bearing clockwise from true north (0 deg N, 90 E, 180 S, 270 W).
- Solar elevation: sun angle above the horizon (0 deg at sunrise/sunset).
A vertical object on flat ground casts a shadow 180 degrees opposite the solar azimuth: a shadow toward 315 degrees (northwest) places the sun at 135 degrees (southeast). Object height h and shadow length L give solar elevation via tan(elevation) = h / L.
import math
height_m, shadow_m, shadow_deg = 2.0, 1.15, 315.0
elevation = math.degrees(math.atan2(height_m, shadow_m))
azimuth = (shadow_deg + 180.0) % 360.0
print(f"Elevation: {elevation:.1f} deg | Azimuth: {azimuth:.1f} deg")Here elevation is 60.1 degrees and azimuth is 135.0 degrees. Testing the verified coordinates and date in SunCalc shows whether the sun hits those values at the claimed hour. Because one sun angle often fits two dates per year (around the solstices), pair shadow checks with foliage, snow, or weather logs.
#Common mistakes and verification pitfalls
- Confirmation bias: forcing blurry shapes to fit a first guess instead of falsifying candidates. One structural mismatch rules out a site.
- Mirrored images: horizontally flipped photos invert driving sides, text, and shadow bearings. Verify readable text before measuring azimuths.
- Sloped terrain:
tan(elevation) = h / Lrequires vertical objects on level ground. - Volatile clues: trusting parked vehicles or billboards over road geometry and utilities.
#Summary
Visual geolocation replaces missing EXIF metadata by filtering environmental, linguistic, and infrastructural clues from macro to micro. Overpass Turbo turns co-occurring OpenStreetMap tags into targeted spatial searches, and sightline triangulation pins the camera spot. Checking shadow bearing and elevation in SunCalc then verifies whether the lighting fits the claimed time, guarding against confirmation bias and recycled imagery.