Metadata-Version: 2.0
Name: geoimage
Version: 0.5
Summary: A utility to geolocate images
Home-page: https://github.com/suvarchal/GeoLocateImage
Author: Suvarchal Kumar Cheedela
Author-email: suvarchal.kumar@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Requires-Dist: PIL

# GeoLocateImage

geoimage associates an image with latitude and longitude coordinates.

most useful application of this utility is to crop images at requested latitude-longitude bounding box


        nterlon,centerlat,deltalat=latdeltavalue,deltalon=londeltavalue):  
                from geoimage import GeoLocateImage
                geoimg=GeoLocateImage(urlorfile,leftlon=0,rightlon=360,toplat=90,bottomlat=-90)
                geoimg.image #contains the image
        a useful methods are 
                geoimg.crop_at_llbox(leftlon,rightlon,toplat,bottomlat)
                geoimg.crop_at_llpoint(centerlon,centerlat,deltalatlon) 
                or alternatively 
                geoimg.crop_at_llpoint(centerlon,centerlat,deltalat=latdeltavalue,deltalon=londeltavalue)
                #import geoimage also extends PIL.Image methods and IPython.core.display.Image methods
                import geoimage
                from PIL import Image
                Image.geolocate(urlorfile,leftlon=0,rightlon=360,toplat=90,bottomlat=-90)
                Image.crop_at_llbox(.......)


