Based on the work of on his library.
Retrieves GPS data from geo-referenced images.
$ pip install dronemapp-gpsimage
>>> 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
...
- 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
- timestamp - Calendar dates (YYYY-MM-DD HH:MM:SS)
- model - Device model (Galaxy Nexus)
- manufacturer - Device manufacturer (Samsung)
- width
- height
- dimensions