public abstract class PartitioningUtils extends Object
Constructor and Description |
---|
PartitioningUtils() |
Modifier and Type | Method and Description |
---|---|
abstract List<org.locationtech.jts.geom.Envelope> |
fetchLeafZones() |
abstract Set<Integer> |
getKeys(org.locationtech.jts.geom.Geometry geometry) |
static PartitioningUtils |
getPartitioner(org.locationtech.jts.geom.Envelope boundaryEnvelope,
int resolution)
If the user only provides boundary and numPartitions, use equal grids.
|
static PartitioningUtils |
getPartitioner(List<org.locationtech.jts.geom.Geometry> samples,
GridType gridType,
org.locationtech.jts.geom.Envelope boundaryEnvelope,
int resolution) |
abstract Iterator<scala.Tuple2<Integer,org.locationtech.jts.geom.Geometry>> |
placeObject(org.locationtech.jts.geom.Geometry geometry) |
public abstract Iterator<scala.Tuple2<Integer,org.locationtech.jts.geom.Geometry>> placeObject(org.locationtech.jts.geom.Geometry geometry)
public abstract List<org.locationtech.jts.geom.Envelope> fetchLeafZones()
public static PartitioningUtils getPartitioner(List<org.locationtech.jts.geom.Geometry> samples, GridType gridType, org.locationtech.jts.geom.Envelope boundaryEnvelope, int resolution)
public static PartitioningUtils getPartitioner(org.locationtech.jts.geom.Envelope boundaryEnvelope, int resolution)
boundaryEnvelope
- resolution
- Copyright © 2023 The Apache Software Foundation. All rights reserved.