No project description provided
Project description
# 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(…….)
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
Built Distribution
Hashes for geoimage-0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945ff208b83b11cccab15433a2fa1c8d8638d1647ff75f9a570bff76e99b6b27 |
|
MD5 | 3a64e6f22c2505687c6fe280959158fb |
|
BLAKE2b-256 | 5183fab88ab29a542d614fc0dc3f21326b6ff18a11a4e9c3abb31caac7dfaac3 |