It is useful at times to be able to relate geometries to grid cells in some layout, and keys to geometries in space wrt the layout. This PR adds that feature, allowing geometries and extents, represented using python-native gps.Extents and shapely geometries to be converted into gps.SpatialKeys and gps.SpatialKeys to be converted into gps.Extents.
Travis errors are unrelated to the changes in this PR. One is an install error, the rest are linting errors due to geopyspark/geotrellis/rasterio.py. Should be good to merge?
It is useful at times to be able to relate geometries to grid cells in some layout, and keys to geometries in space wrt the layout. This PR adds that feature, allowing geometries and extents, represented using python-native
gps.Extent
s and shapely geometries to be converted intogps.SpatialKeys
andgps.SpatialKey
s to be converted intogps.Extent
s.Signed-off-by: jpolchlo jpolchlopek@azavea.com