Skip to main content

Retrieves GPS data from Geo-referenced images made easy

Project description

# GPSImage Library

Retrieves GPS data from Geo-referenced.

GPS Image will contain all the geo-referenced information from an image.

Every task is made easy!

With tons of ``help`` & ``debug`` commands!

## Install

**Requires** PIL module installed, for issues with Windows try to download Pillow.

```bash
$pip install gpsimage
```

## Python Example

```python
>>> import gpsimage # pip install gpsimage
>>> img = gpsimage.open('<image.jpg>')

# Coordinates Latitude & Longitude in Degrees
>>> img.lat, img.lng
45.413140 -75.656703

# Altitude in Feet
>>> img.altitude
142.04025779

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

## Attributes

- **lat** - Latitude (Degrees)
- **lng** - Longitude (Degrees)
- **altitude** - Elevation Above Mean Sea Level
- **datum** - Coordinate system (Typically WGS84)
- **ok** - True or False if coordinates exists

## Functions

- **debug** - Generates a report of all the attributes available

Project details


Download files

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

Source Distribution

gpsimage-0.0.1.tar.gz (7.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page