Skip to content

AndrewFreemantle/photo-mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

photo-mapper


####photo-mapper is a simple script that generates KML files that plot the location and route of your travels from the GPS coordinates in your digital photographs. These KML files can then be opened in Google Earth or uploaded to Google Maps.

This Ruby script generates two Keyhole Markup Language files:

  1. points.kml - a point for every photo with GPS coords
  2. route.kml - a single line that joins every photo with GPS coords

points.kml looks like this in Google Earth:
Google Earth overlaid with points generated from digital photo metadata

routes.kml looks like this in Google Maps:
Google maps overlaid with route generated from digital photo metadata

Getting Started

Usage

Simply point the script at the folder containing your photo collection from the Terminal or Command Prompt and it will recursively search for all JPEG photos and read their GPS coordinates:

ruby photo-mapper.rb {starting_directory}

e.g.

ruby photo-mapper.rb Photos

About

Generates KML Point and Route (line) data from the GPS metadata in digital photos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages