EXIF GPS information to Google Maps url
Project description
Exifgps Package
================
This package reads EXIF information in jpg or tiff images.
It converts the GPS information into the equivalent
Google Maps url.
SETUP
=====
- Requires exifread module to be installed
USAGE
=====
Methods:
-------
- read(image_filename) : Returns single imagepgs object
- process_exif() : Converts EXIF GPS information to google url
- search(directory) : Searches recursivley directory and Returns list of processed exifgps objects
- set_zoom_level(integer) : Set google maps zoom level (1-21)
- get_zoom_level() : Returns current zoom level
- get_filename() : Return filename
- get_url() : Return google_url if EXIF present. Returns "" if no EXIF information
EXAMPLES
========
Single Image
::
import exifgps
image = exifgps.read(image_filename)
image.process_exif()
print image.get_url()
Search Directory
::
import exifgps
image_list = exifgps.search(directory)
for image in image_list:
print image.get_url()
print image.get_filename()
================
This package reads EXIF information in jpg or tiff images.
It converts the GPS information into the equivalent
Google Maps url.
SETUP
=====
- Requires exifread module to be installed
USAGE
=====
Methods:
-------
- read(image_filename) : Returns single imagepgs object
- process_exif() : Converts EXIF GPS information to google url
- search(directory) : Searches recursivley directory and Returns list of processed exifgps objects
- set_zoom_level(integer) : Set google maps zoom level (1-21)
- get_zoom_level() : Returns current zoom level
- get_filename() : Return filename
- get_url() : Return google_url if EXIF present. Returns "" if no EXIF information
EXAMPLES
========
Single Image
::
import exifgps
image = exifgps.read(image_filename)
image.process_exif()
print image.get_url()
Search Directory
::
import exifgps
image_list = exifgps.search(directory)
for image in image_list:
print image.get_url()
print image.get_filename()
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
exifgps-1.014.tar.gz
(3.8 kB
view hashes)