Skip to content

📷 GPSImage - Retrieves GPS data from Geo-referenced Photos

License

Notifications You must be signed in to change notification settings

InfraPixels/gpsimage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPSImage Library by Dronemapp

CircleCI

Based on the work of Denis Carriere on his gpsimage library.

Retrieves GPS data from geo-referenced images.

Install

$ pip install dronemapp-gpsimage

Python Example

>>> from dronemapp.gpsimage import GPSImageFromFile
>>> img = GPSImageFromFile('your-image.jpg')

# Coordinates Latitude & Longitude in Degrees 
>>> img.y, img.x
45.413140 -75.656703

# Altitude in Feet
>>> img.z
142.04025779

# From 0 to 360 Degrees
>>> img.direction
165.974436341
...

Attributes

GPS data

  • y - Latitude (Degrees)
  • x - Longitude (Degrees)
  • geometry - GeoJSON Point
  • z - Elevation Above Mean Sea Level
  • datum - Coordinate system (Typically WGS84)
  • direction - Camera orientation (0-360 degrees)
  • has_latlng - True or False if planar coordinates exists

Device Specific

  • timestamp - Calendar dates (YYYY-MM-DD HH:MM:SS)
  • model - Device model (Galaxy Nexus)
  • manufacturer - Device manufacturer (Samsung)

Standard

  • width
  • height
  • dimensions

About

📷 GPSImage - Retrieves GPS data from Geo-referenced Photos

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%