GeoPhotos



Latest version

GeoPhotos is a Python library designed to make it easy to pull coordinates from various sources, analyze them in order to obtain useful information, and plot them on a map. GeoPhotos Exif GPS metadata editor for macOS, written in Swift, support = OS X 10.10.

Released:

A package to pull, plot, and analyze coordinates from photos.

Project description

GeoPhotos is a package to pull, analyze, and plot coordinates from varioussources.

GeoPhotos

GeoPhotos is a Python library designed to make it easy to pull coordinatesfrom various sources, analyze them in order to obtain useful information, andplot them on a map.

Main features

An overview of some of the major features of GeoPhotos are as follows:

  • Extract metadata (timestamp, coordinates, etc.) from one or more files, andwrite to a csv file if desired
  • Pull coordinates from Google Takeout location history
  • Plot coordinate data on a fully customizable heatmap, including markers,tooltips, layer control, and more
  • Analyze coordinate data to determine unique countries, most common countries,and more
  • Highlight certain countries on the heatmap easily and painlessly
  • Save the map to an html file for reference or for use with web developmentframeworks such as flask
  • Open the html file directly from the code for debugging

Dependencies

Required dependencies

Currently, the following packages are required:

Some packages that are currently required may be made optional in the future,such as the gdal/osgeo package.

GeoPhotosGeoPhotos

Optional Dependencies

The geopandas package has been madeoptional due to how difficult it is to install properly. It is required toperform geographical data analysis.

GeoPhotos

Installation

Assuming you've already got the dependencies covered, you can use pip to installthis package:

However, you will most likely run into problems doing it this way.Unfortunately, I have tried and failed to overcome these obstacles myself.My recommendation is to install geopandas using Anaconda/conda (you might haveto install gdal as well), and then pip install it into your current environment:

This should handle all of the dependencies for you, although you still might runinto some issues (I sure did!).

Updating

To update geophotos to the latest version, simply use the command:

Heatmap from photo locations

One of the main reasons I made this package was to pull GPS information from thepictures in my iCloud library, then plot them on a map. Skipping the pulling ofthe coordinates for simplicity's sake, the following code does the following:

  1. Read latitudes and longitudes from a csv file
  2. Generate a heatmap using this coordinate data
  3. Add a marker that marks my hometown
  4. Analyze the data and determine which countries I've visited
  5. Highlight only the countries I've been to on a separate layer
  6. Save the map as an html file and open it in a web browser

The html file is completely interactive, and I hope to eventually use it on mypersonal website.

Heatmap from Google Takeout location history

Another thing I wanted to do when starting this project was be able to analyzemy Google Takeout location data. While not an overly complicated thing to dowithout GeoPhotos, it does make this process very simple.

Geotag Photos Online

For example, the following code extracts coordinate information from the GoogleTakeout location history JSON file and plots them on a heatmap. It's reallyinteresting to see where you've been the most.

  • Jake Brehm - Initial Work - Email | Github | LinkedIn

Release historyRelease notifications | RSS feed

0.50.1

0.50

0.22

0.21

Geotagging Software

0.20

0.10

Download files

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

Files for geophotos, version 0.50.1
Filename, sizeFile typePython versionUpload dateHashes
Filename, size geophotos-0.50.1.tar.gz (7.0 MB) File type Source Python version None Upload dateHashes
Close

Hashes for geophotos-0.50.1.tar.gz

Hashes for geophotos-0.50.1.tar.gz
AlgorithmHash digest
SHA256a4137b2a6c6f6f5fe0b093efc9b82e2709425bc8071f9718b27c2ced54cbabec
MD54b2b85a5d2bc1bb0509551af277594be
BLAKE2-25650dd30fcb497cc7006322472bf4e8be76af1348b71cece4663a9a7f42a50a837

The Complete Geotagging Solution

Geotag Photos Pro is the complete geotagging solution. It consists of a mobile app (for iOS or Android) that records your position while you’re taking great photos and a desktop app that geotags your images using recorded data. All your recorded routes can then be exported as a GPX file via Dropbox, email, or the web. (Click here to learn more)

Simple to Use

It doesn't matter if you have a few shots from an afternoon walk or thousands of photos from an annual vacation, geotagging is always easy and always fast.

Geotag Viewer

Ultra-efficient Battery

GPS is widely known for draining your battery, but a number of power savings mechanisms within Geotag Photos Pro ensures your battery will run the entire day.

Custom Settings at Your Fingertips

Choose the logging interval and accuracy for whatever you need. Thanks to the wide range of settings available within Geotag Photos Pro it has become an essential part of the workflow of many professional photographers.

Compatibility with smart wearables

Geotag Photos Pro is compatible with mostly used smart wearables as Apple Watch, Android Wear and Pebble Watches. You can start or stop your recording, change logging interval or log current position directly from your wrist.(Click here to learn more)

Flawless Lightroom Compatibility

GPX files from the app work flawlessly inside Lightroom’s Map module for geotagging; and, in addition to the export process to Dropbox taking mere seconds, is another reason why leading Lightroom experts repeatedly recommended Geotag Photos Pro. (Click here to learn more)

Works with any digital camera

Whether you have a DSLR, a Mirrorless or compact point-and-shoot camera, Geotag Photos Pro will enrich your photos with your GPS location. JPEG and the majority of RAW files formats are supported.