Skip to content

About

Locate the origin point of photographs using geometric ray intersection.

Topics

Resources

Stars

30 stars

Watchers

0 watching

Forks

Latest commit

 

History

205 Commits

Folders and files

Repository files navigation

TracePoint Logo TracePoint

Locate the origin point of a photograph using geometric ray intersection.

TracePoint is a browser-based geolocation tool built for OSINT investigators, journalists, and researchers who already know how to geolocate images, and want a dedicated instrument to do it faster and more precisely. No uploads. No server. Everything runs locally in your browser.

Try it live → kluter.github.io/TracePoint

TracePoint Demo


The Method

Draw a vertical line across a photograph and it passes through objects at different depths: foreground, midground, horizon. Each of those objects can be found on a map, and together they define a geographic bearing: a ray.

Repeat for a second line and you get a second ray. Where the rays cross is where the photographer was standing. More lines make the position more reliable.

This is a photographic application of the surveying technique known as Resection by Intersection.


Features

  • Camera position with an error estimate: up to 5 lines per photo give a position, and from three lines on an error ellipse
  • Several photos of one scene: each gets its own rays and position, all shown on the map together
  • Check against reality: 3D terrain and buildings with the field of view matched to the photo's lens, street-level imagery from Panoramax or Mapillary, and the GPS position from the photo's metadata
  • Paste any coordinates: decimal, degrees-minutes-seconds, or a link from many map services drops a pin
  • Any basemap: satellite and street maps, Esri Wayback imagery back to 2014 with a timeline of capture dates, and your own XYZ layers
  • Local only: no uploads, no tracking. Work is autosaved in your browser and can be exported to a file, or as KML and GeoJSON

How to Use

New here? Open the ☰ menu on the photo side and pick Potsdam, Germany under Demo.

  1. Load a photo: drop it onto the left panel, paste it with Ctrl+V, or click Browse. If it is tilted, straighten it first with the level tool (W).
  2. Add a line (E) and drag it over something you can also find on the map: a building corner, tower, road junction.
  3. Mark two points on the line by clicking it twice, then click where each of them is on the map.
  4. Repeat with a second line. The pulsing yellow marker shows the estimated camera position. A third line adds the error ellipse.
  5. Save your work from the ☰ menu, or with Ctrl+S.

TracePoint Result

The most important keys, in the default Photo layout:

Key Action
E New line
F Place the next point on the map
W Level tool
Del Delete the selected point, or the active line
Esc Cancel / deselect
Ctrl+Z Undo

All controls, and the Map layout that moves the map with W A S D, are in docs/controls.md.


Reading the Error Ellipse

With three or more lines, a dashed ellipse appears around the estimated position.

  • It has about an 80 % chance of containing the camera, as long as the lines are only off by small, random and similar errors. It cannot account for a wrong landmark.
  • Small and round is best. If it is long, add a line at a different angle. If it is large, check your points too.
  • With only three lines it can still look too small, when they happen to meet almost in one spot. More lines make it more reliable.

Ellipse comparison

The position is the spot closest to all rays at once (least squares), computed on a spherical Earth.


Accuracy and Limitations

For the best result, use a photo taken with the camera held level and lines spread across it, and place the two points of each line far apart, on objects at different depths.

  • A camera pointing up or down makes vertical things lean, so a line may no longer stand for a single direction. This matters most when the two points differ a lot in height, as in mountains or aerial photos. TracePoint does not correct it; the level tool only fixes a sideways tilt.
  • Strongly distorted lenses, such as fisheye or extreme wide-angle, bend straight lines.
  • Long distances make small errors in a point count for more. Beyond some tens of kilometres, the Earth's exact shape and the bending of light in the air matter too.
  • No position is shown if all lines cross at less than 0.5°, or the result is more than 1000 km from every map point. Rays are drawn 50 km either way, or as far as the second point; the position can lie beyond that.

Security & Privacy

  • Your photos never leave your machine. Check it yourself in DevTools → Network.
  • Map data comes from outside servers. Their requests reveal which area you are looking at, including lookups of imagery dates with Esri Wayback. Use a VPN or Tor if that matters.
  • Street-level imagery sends the position you look up, only while its panel is open.
  • Autosave keeps your work in this browser only. Switch it off in the ☰ menu for sensitive material. Saved work and exported files are not encrypted.
  • Imported files cannot run code. TracePoint is plain, unminified JavaScript with two bundled libraries (MapLibre GL JS, exifr) and no CDN.

This tool was developed with AI assistance. That is disclosed here because the risks of opaque, AI-generated OSINT tools are real; the answer is readable code anyone can verify.

Every request, every stored value and all caveats are listed in docs/privacy.md.


Changelog

Current version: v2.15.3. All releases are listed in CHANGELOG.md.


Recognition

Curated Lists

List Section
jivoi/awesome-osint Image Analysis
Astrosp/Awesome-OSINT-List GEO
The-Osint-Toolbox/Geolocation-OSINT Geolocation

Press

Publication Publisher
TracePoint: A Browser-Based Tool for Image Geolocation by Ray Intersection Earth Observation Research Cluster, University of Würzburg

Related

ShadowFinder Web - Geolocate a photo by the length of a shadow.

SiliconAperture - Measure the real-world size of an object from a single photograph.

About

Locate the origin point of photographs using geometric ray intersection.

Topics

Resources

Stars

30 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages