locationtech-labs / geopyspark

GeoTrellis for PySpark
Other
179 stars 59 forks source link

Easy Import for SpaceTimePartitionStrategy #647

Closed jbouffard closed 6 years ago

jbouffard commented 6 years ago

This PR is a slight fix for #643 where SpaceTimePartitionStrategy can be easily imported.

Example:


# Before easy import, this is how SpaceTimePartitionStrategy had to be imported
from geopyspark.geotrellis impot SpaceTimePartitionStrategy

# After easy import
import geopyspark as gps

In addition, the behavior of the GeoTrellis' Histogram has changed slightly due to this PR https://github.com/locationtech/geotrellis/pull/2590 Therefore, a tiny fix to one of the unite tests in histogram_test has been updated.