Class CircleRDD
java.lang.Object
org.apache.sedona.core.spatialRDD.SpatialRDD<org.apache.sedona.common.geometryObjects.Circle>
org.apache.sedona.core.spatialRDD.CircleRDD
- All Implemented Interfaces:
Serializable
The Class CircleRDD.
- See Also:
-
Field Summary
Fields inherited from class org.apache.sedona.core.spatialRDD.SpatialRDD
approximateTotalCount, boundaryEnvelope, CRStransformation, fieldNames, indexedRawRDD, indexedRDD, rawSpatialRDD, schema, sourceEpsgCode, spatialPartitionedRDD, targetEpgsgCode -
Constructor Summary
ConstructorsConstructorDescriptionCircleRDD(SpatialRDD spatialRDD, Double Radius) Instantiates a new circle RDD.CircleRDD(org.apache.spark.api.java.JavaRDD<org.apache.sedona.common.geometryObjects.Circle> circleRDD) Instantiates a new circle RDD.CircleRDD(org.apache.spark.api.java.JavaRDD<org.apache.sedona.common.geometryObjects.Circle> circleRDD, String sourceEpsgCRSCode, String targetEpsgCRSCode) Instantiates a new circle RDD. -
Method Summary
Modifier and TypeMethodDescriptionGets the center line string RDD as spatial RDD.Gets the center point as spatial RDD.Gets the center polygon as spatial RDD.Gets the center rectangle RDD as spatial RDD.Methods inherited from class org.apache.sedona.core.spatialRDD.SpatialRDD
analyze, analyze, analyze, boundary, buildIndex, calc_partitioner, coalesceAndBuildRawIndex, countWithoutDuplicates, countWithoutDuplicatesSPRDD, CRSTransform, CRSTransform, flipCoordinates, getCRStransformation, getPartitioner, getRawSpatialRDD, getSampleNumber, getSourceEpsgCode, getTargetEpgsgCode, MinimumBoundingRectangle, saveAsGeoJSON, saveAsWKB, saveAsWKT, setNeighborSampleNumber, setRawSpatialRDD, setSampleNumber, spatialPartitioning, spatialPartitioning, spatialPartitioning, spatialPartitioning, spatialPartitioning, spatialPartitioningWithoutDuplicates, spatialPartitioningWithoutDuplicates, spatialPartitioningWithoutDuplicates, spatialPartitioningWithoutDuplicates
-
Constructor Details
-
CircleRDD
public CircleRDD(org.apache.spark.api.java.JavaRDD<org.apache.sedona.common.geometryObjects.Circle> circleRDD) Instantiates a new circle RDD.- Parameters:
circleRDD- the circle RDD
-
CircleRDD
public CircleRDD(org.apache.spark.api.java.JavaRDD<org.apache.sedona.common.geometryObjects.Circle> circleRDD, String sourceEpsgCRSCode, String targetEpsgCRSCode) Instantiates a new circle RDD.- Parameters:
circleRDD- the circle RDDsourceEpsgCRSCode- the source epsg CRS codetargetEpsgCRSCode- the target epsg CRS code
-
CircleRDD
Instantiates a new circle RDD.- Parameters:
spatialRDD- the spatial RDDRadius- the radius
-
-
Method Details
-
getCenterPointAsSpatialRDD
Gets the center point as spatial RDD.- Returns:
- the center point as spatial RDD
-
getCenterPolygonAsSpatialRDD
Gets the center polygon as spatial RDD.- Returns:
- the center polygon as spatial RDD
-
getCenterLineStringRDDAsSpatialRDD
Gets the center line string RDD as spatial RDD.- Returns:
- the center line string RDD as spatial RDD
-
getCenterRectangleRDDAsSpatialRDD
Gets the center rectangle RDD as spatial RDD.- Returns:
- the center rectangle RDD as spatial RDD
-