This PR replaces the current Partition constant class with HashPartitionStrategy and SpatialPartition. The reason for this change is because it allows for cleaner API while also allowing the user to have more control over how a layer is partitioned during operations.
In addition to introducing the partition strategies, this PR also adds the partition_strategy parameter to various methods to allow for greater control the partitioning of the layer.
This PR replaces the current
Partition
constant class withHashPartitionStrategy
andSpatialPartition
. The reason for this change is because it allows for cleaner API while also allowing the user to have more control over how a layer is partitioned during operations.In addition to introducing the partition strategies, this PR also adds the
partition_strategy
parameter to various methods to allow for greater control the partitioning of the layer.This PR supersedes #615
Note: This PR will not pass until https://github.com/locationtech/geotrellis/pull/2553 is merged.