DEV Community

Tanglement
Tanglement

Posted on Originally published at tanglement.ai

Geotag photos from a GPX track

If you carried a phone or GPS logger, its track says where you were at each moment. A geotagger matches each photo's time to the track.

Steps

  1. Export the track as GPX (most GPS apps can).
  2. Check your camera clock: if it was off by minutes, the places will be off too.
  3. Match photos to the track, with a time offset if needed.
  4. Check a few photos on a map.

Add GPS location to many photos at once

Photos from a camera without GPS have no location. You can add one to many photos at once, either one place for all of them or from a GPS track.

Free way with ExifTool

  1. Install ExifTool.
  2. Run exiftool -GPSLatitude=40.7 -GPSLatitudeRef=N -GPSLongitude=74.0 -GPSLongitudeRef=W *.jpg in the photo folder.
  3. Check one photo in a map app.

It works, but it is a command line tool and you need to look up coordinates yourself.

The tool I made for this

I make and sell Batch Geotagger. Add GPS to hundreds of photos at once, from a map pin or a GPX track. Runs in your browser.

Top comments (0)