Class EqualPartitioning

java.lang.Object
org.apache.sedona.core.spatialPartitioning.EqualPartitioning
All Implemented Interfaces:
Serializable

public class EqualPartitioning extends Object implements Serializable
The Class EqualPartitioning.
See Also:
  • Constructor Details

    • EqualPartitioning

      public EqualPartitioning(List<org.locationtech.jts.geom.Envelope> grids, boolean preserveUncontainedGeometries)
    • EqualPartitioning

      public EqualPartitioning(List<org.locationtech.jts.geom.Envelope> grids)
    • EqualPartitioning

      public EqualPartitioning(org.locationtech.jts.geom.Envelope boundary, int partitions)
      Instantiates a new equal partitioning.
      Parameters:
      boundary - the boundary
      partitions - the partitions
  • Method Details

    • getGrids

      public List<org.locationtech.jts.geom.Envelope> getGrids()
      Gets the grids.
      Returns:
      the grids
    • placeObject

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

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