Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Geotag photos with exiftool based on your Moves app history

Project Description

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

Is it for me?

  • Do you take photos with a camera without a GPS tracking feature?
  • Do you have https://moves-app.com/ installed on your phone?
  • 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 them in your Moves log.
  • GeoTagger is able to retrospectively add GEO tags to even old photos, as long as your location for the period is logged with Moves.

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.
  2. Your Moves history for those days is fetched from the Moves API.
  3. A GPX file is generated from the data.
  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

Licence

MIT. See LICENCE.

Release History

Release History

This version
History Node

0.0.3

History Node

0.0.2b0

History Node

0.0.1b0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
geotagger-0.0.3.tar.gz (11.4 kB) Copy SHA256 Checksum SHA256 Source Sep 9, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting