Class PartitioningUtils

java.lang.Object
org.apache.sedona.core.spatialPartitioning.PartitioningUtils
Direct Known Subclasses:
ExtendedQuadTree, KDB, StandardQuadTree

public abstract class PartitioningUtils extends Object
  • Constructor Details

    • PartitioningUtils

      public PartitioningUtils()
  • Method Details

    • placeObject

      public abstract Iterator<scala.Tuple2<Integer,org.locationtech.jts.geom.Geometry>> placeObject(org.locationtech.jts.geom.Geometry geometry)
    • getKeys

      public abstract Set<Integer> getKeys(org.locationtech.jts.geom.Geometry geometry)
    • fetchLeafZones

      public abstract List<org.locationtech.jts.geom.Envelope> fetchLeafZones()
    • getPartitioner

      public static PartitioningUtils getPartitioner(List<org.locationtech.jts.geom.Geometry> samples, GridType gridType, org.locationtech.jts.geom.Envelope boundaryEnvelope, int resolution)
    • getPartitioner

      public static PartitioningUtils getPartitioner(org.locationtech.jts.geom.Envelope boundaryEnvelope, int resolution)
      If the user only provides boundary and numPartitions, use equal grids.
      Parameters:
      boundaryEnvelope -
      resolution -
      Returns: