Class PartitioningUtils

    • Constructor Detail

      • PartitioningUtils

        public PartitioningUtils()
    • Method Detail

      • 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: