Skip to content
/ Img2GPX Public

A Python program to create a GPX path from image metadata. Useful for creating a visual plot of a path followed during travel.

License

Notifications You must be signed in to change notification settings

EliaKr/Img2GPX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Img2GPX

A Python program to create a GPX path from image metadata. Useful for creating a visual plot of a path followed during travel.

Supported formats: TIFF, JPEG, PNG, Webp, HEIC

Dependencies

  • Python version >= 3.11
  • ExifRead library (For HEIC files a version below 3.0.0 is required. You can download it using pip install "exifread<3")
  • tzdata library

Usage

Run using the command: python3 img2gpx.py -d "~/directory" -f "filename" --verbose. If no directory is specified, then the directory where the img2gpx.py file is will be used. If no filename is specified then the current unix time will be used. --verbose prints a detailed output of the images processed and the arguments entered by the user. The GPX file is saved in the same directory as the photo files.

TODO

  • Add altitude data
  • Add more options for formatting
  • Add graphics and package to release
  • Add option to create image with static map and path

About

A Python program to create a GPX path from image metadata. Useful for creating a visual plot of a path followed during travel.

Resources

License

Stars

Watchers

Forks

Languages