Simply get latitude and longitude from an image's EXIF data
Project description
pygeoexif
=========
A python module for reading latitude and longitude from an image's EXIF data.
Heavily based on [this gist](https://gist.github.com/erans/983821), packaged
here for ease of installation and use.
Requires PIL.
Install
-------
Use pip: `pip install pygeoexif`
Usage
-----
```python
from PIL import Image
from pygeoexif import get_exif_data, get_lat_lon
image = Image.open(<path_to_image>)
lat, lon = get_lat_lon(get_exif_data(image))
```
License
-------
MIT, as permitted by [this comment](https://gist.github.com/erans/983821#gistcomment-882766)
in the original.
=========
A python module for reading latitude and longitude from an image's EXIF data.
Heavily based on [this gist](https://gist.github.com/erans/983821), packaged
here for ease of installation and use.
Requires PIL.
Install
-------
Use pip: `pip install pygeoexif`
Usage
-----
```python
from PIL import Image
from pygeoexif import get_exif_data, get_lat_lon
image = Image.open(<path_to_image>)
lat, lon = get_lat_lon(get_exif_data(image))
```
License
-------
MIT, as permitted by [this comment](https://gist.github.com/erans/983821#gistcomment-882766)
in the original.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygeoexif-0.0.1.tar.gz
(2.2 kB
view details)
File details
Details for the file pygeoexif-0.0.1.tar.gz.
File metadata
- Download URL: pygeoexif-0.0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89121026f8131e87fca5250bcc827cc7b186f681c48ceb8beceebbc01884cfe2
|
|
| MD5 |
4aed15aee097e579aeb4ce6c1a507626
|
|
| BLAKE2b-256 |
35d119bfb7ee65183cda1b34fbe6d3583db6d15572e06b1432f76295ee614a7f
|