osde8info / geotagger

📸 🗺 Geotag your photos from GPS-less cameras with your phone's location history data

Repository from Github https://github.comosde8info/geotaggerRepository from Github https://github.comosde8info/geotagger

GeoTagger

Geotag your photos from GPS-less cameras with your phone's location history data.

GeoTagger

Is it for me?

  • Do you take photos with a camera without a GPS tracking feature?
  • Do you have a mobile with a GPS tracking app (ie wigle)
  • Do you want to have your photos geotagged?

…if your answer is 3x yes, then this tool is for you.

How does it work?

  • You already walk around with your location-aware phone and Moves records your location.
  • You snap photos with your GPS-less camera.
  • GeoTagger uses the creation timestamps from photos to find your location at the time of taking by matching times in your GPX file.
  • GeoTagger is able to retrospectively add GEO tags to even old photos as long as you have a GPX file for that period.

How is it implemented?

When you ask GeoTagger to tag your photos, this process takes places:

1. Unique creation dates are extracted from the photo files. 3. Create a GPX file from you GPS tracking app 4. exiftool -geotag is used behind to scene to apply that location

log to your photos.

Status

Beta quality.

Installation

  1. Install exiftool, for example, with: $ brew install exiftool
  2. Install geotagger from PyPi with: $ pip install geotagger

Usage

See $ geotagger --help and $ geotagger sub-command --help.

Moves authentication

  1. Create a new app under your Moves account: https://dev.moves-app.com/apps/new
  2. Specify http://127.0.0.1:7777/redirect as Redirect URI.
  3. Create ~/.geotagger.json with credentials for your app: {"MOVES_ID": "<CLIENT_ID>", "MOVES_SECRET": "<CLIENT_SECRET>"}
  4. Run geotagger auth and follow the instruction to authenticate the app.

Geotagging

Geotag all images in a folder:

$ geotagger tag ./photos

You can also just generate a GPX log for the dates without applying it:

$ geotagger gpx ./photos > log.gpx

The tag sub-command also optionally accepts a path to a GPX log file:

$ geotagger tag ./photos log.gpx

TODO

Changelog

0.0.3 (2017-09-09)

  • Fixed missing configuration: MOVES__ID #1

2024.10.10

  • Remove MOVEs

Contact

Jakub Roztocil

Clive Darra

Contribute

Licence

MIT. See LICENCE.

About

📸 🗺 Geotag your photos from GPS-less cameras with your phone's location history data

License:MIT License


Languages

Language:Python 100.0%