Uses of Class
org.apache.sedona.core.spatialRDD.SpatialRDD
Packages that use SpatialRDD
Package
Description
-
Uses of SpatialRDD in org.apache.sedona.core.formatMapper
Methods in org.apache.sedona.core.formatMapper that return SpatialRDDModifier and TypeMethodDescriptionstatic SpatialRDD<org.locationtech.jts.geom.Geometry>GeoJsonReader.readToGeometryRDD(org.apache.spark.api.java.JavaRDD rawTextRDD) Read a SpatialRDD from a string type rdd.static SpatialRDD<org.locationtech.jts.geom.Geometry>GeoJsonReader.readToGeometryRDD(org.apache.spark.api.java.JavaRDD rawTextRDD, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries) Read a SpatialRDD from a string type rdd.static SpatialRDD<org.locationtech.jts.geom.Geometry>GeoJsonReader.readToGeometryRDD(org.apache.spark.api.java.JavaSparkContext sc, String inputPath) Read a SpatialRDD from a file.static SpatialRDD<org.locationtech.jts.geom.Geometry>GeoJsonReader.readToGeometryRDD(org.apache.spark.api.java.JavaSparkContext sc, String inputPath, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries) Read a SpatialRDD from a file.static SpatialRDD<org.locationtech.jts.geom.Geometry>WkbReader.readToGeometryRDD(org.apache.spark.api.java.JavaRDD rawTextRDD, int wkbColumn, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries) Read a SpatialRDD from a string type rdd.static SpatialRDD<org.locationtech.jts.geom.Geometry>WkbReader.readToGeometryRDD(org.apache.spark.api.java.JavaSparkContext sc, String inputPath, int wkbColumn, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries) Read a SpatialRDD from a file.static SpatialRDD<org.locationtech.jts.geom.Geometry>WktReader.readToGeometryRDD(org.apache.spark.api.java.JavaRDD rawTextRDD, int wktColumn, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries) Read a SpatialRDD from a string type rdd.static SpatialRDD<org.locationtech.jts.geom.Geometry>WktReader.readToGeometryRDD(org.apache.spark.api.java.JavaSparkContext sc, String inputPath, int wktColumn, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries) Read a SpatialRDD from a file. -
Uses of SpatialRDD in org.apache.sedona.core.formatMapper.shapefileParser
Methods in org.apache.sedona.core.formatMapper.shapefileParser that return SpatialRDDModifier and TypeMethodDescriptionstatic SpatialRDD<org.locationtech.jts.geom.Geometry>ShapefileReader.readToGeometryRDD(org.apache.spark.api.java.JavaSparkContext sc, String inputPath) read shapefile in inputPath with default GeometryFactory and return an RDD of Geometry.static SpatialRDD<org.locationtech.jts.geom.Geometry>ShapefileReader.readToGeometryRDD(org.apache.spark.api.java.JavaSparkContext sc, String inputPath, org.locationtech.jts.geom.GeometryFactory geometryFactory) read shapefile in inputPath with customized GeometryFactory and return an RDD of Geometry.Methods in org.apache.sedona.core.formatMapper.shapefileParser with parameters of type SpatialRDDModifier and TypeMethodDescriptionstatic LineStringRDDShapefileReader.geometryToLineString(SpatialRDD geometryRDD) convert geometry rdd tostatic PointRDDShapefileReader.geometryToPoint(SpatialRDD geometryRDD) convert geometry rdd tostatic PolygonRDDShapefileReader.geometryToPolygon(SpatialRDD geometryRDD) convert geometry rdd to -
Uses of SpatialRDD in org.apache.sedona.core.spatialOperator
Methods in org.apache.sedona.core.spatialOperator with parameters of type SpatialRDDModifier and TypeMethodDescriptionstatic <T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<org.locationtech.jts.geom.Geometry,T> JoinQuery.distanceJoin(SpatialRDD<T> spatialRDD, CircleRDD queryRDD, JoinQuery.JoinParams joinParams) Note: INTERNAL FUNCTION.static <T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<org.locationtech.jts.geom.Geometry,List<T>> JoinQuery.DistanceJoinQuery(SpatialRDD<T> spatialRDD, CircleRDD queryRDD, boolean useIndex, boolean considerBoundaryIntersection) Deprecated.static <T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<org.locationtech.jts.geom.Geometry,List<T>> JoinQuery.DistanceJoinQuery(SpatialRDD<T> spatialRDD, CircleRDD queryRDD, boolean useIndex, SpatialPredicate spatialPredicate) Inner joins two sets of geometries, where the query windows are circles (aka.static <T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<org.locationtech.jts.geom.Geometry,List<T>> JoinQuery.DistanceJoinQuery(SpatialRDD<T> spatialRDD, CircleRDD queryRDD, JoinQuery.JoinParams joinParams) static <T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<org.locationtech.jts.geom.Geometry,Long> JoinQuery.DistanceJoinQueryCountByKey(SpatialRDD<T> spatialRDD, CircleRDD queryRDD, boolean useIndex, boolean considerBoundaryIntersection) Deprecated.static <T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<org.locationtech.jts.geom.Geometry,Long> JoinQuery.DistanceJoinQueryCountByKey(SpatialRDD<T> spatialRDD, CircleRDD queryRDD, boolean useIndex, SpatialPredicate spatialPredicate) static <T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<org.locationtech.jts.geom.Geometry,Long> JoinQuery.DistanceJoinQueryCountByKey(SpatialRDD<T> spatialRDD, CircleRDD queryRDD, JoinQuery.JoinParams joinParams) static <T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<org.locationtech.jts.geom.Geometry,T> JoinQuery.DistanceJoinQueryFlat(SpatialRDD<T> spatialRDD, CircleRDD queryRDD, boolean useIndex, boolean considerBoundaryIntersection) Deprecated.static <T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<org.locationtech.jts.geom.Geometry,T> JoinQuery.DistanceJoinQueryFlat(SpatialRDD<T> spatialRDD, CircleRDD queryRDD, boolean useIndex, SpatialPredicate spatialPredicate) Inner joins two sets of geometries, where the query windows are circles (aka.static <T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<org.locationtech.jts.geom.Geometry,T> JoinQuery.DistanceJoinQueryFlat(SpatialRDD<T> spatialRDD, CircleRDD queryRDD, JoinQuery.JoinParams joinParams) static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<U,T> JoinQuery.knnJoin(SpatialRDD<U> queryRDD, SpatialRDD<T> objectRDD, JoinQuery.JoinParams joinParams, boolean includeTies, boolean broadcastJoin) static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<U,List<T>> JoinQuery.KNNJoinQuery(SpatialRDD<T> objectRDD, SpatialRDD<U> queryRDD, IndexType indexType, int k, DistanceMetric distanceMetric) Joins two sets of geometries on specified distance metric and finds the k nearest neighbors.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<U,T> JoinQuery.spatialJoin(SpatialRDD<U> leftRDD, SpatialRDD<T> rightRDD, JoinQuery.JoinParams joinParams) Note: INTERNAL FUNCTION.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<U,List<T>> JoinQuery.SpatialJoinQuery(SpatialRDD<T> spatialRDD, SpatialRDD<U> queryRDD, boolean useIndex, boolean considerBoundaryIntersection) Deprecated.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<U,List<T>> JoinQuery.SpatialJoinQuery(SpatialRDD<T> spatialRDD, SpatialRDD<U> queryRDD, boolean useIndex, SpatialPredicate spatialPredicate) Inner joins two sets of geometries on specified spatial predicate.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<U,List<T>> JoinQuery.SpatialJoinQuery(SpatialRDD<T> spatialRDD, SpatialRDD<U> queryRDD, JoinQuery.JoinParams joinParams) static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<U,Long> JoinQuery.SpatialJoinQueryCountByKey(SpatialRDD<T> spatialRDD, SpatialRDD<U> queryRDD, boolean useIndex, boolean considerBoundaryIntersection) Deprecated.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<U,Long> JoinQuery.SpatialJoinQueryCountByKey(SpatialRDD<T> spatialRDD, SpatialRDD<U> queryRDD, boolean useIndex, SpatialPredicate spatialPredicate) static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<U,Long> JoinQuery.SpatialJoinQueryCountByKey(SpatialRDD<T> spatialRDD, SpatialRDD<U> queryRDD, JoinQuery.JoinParams joinParams) static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<U,T> JoinQuery.SpatialJoinQueryFlat(SpatialRDD<T> spatialRDD, SpatialRDD<U> queryRDD, boolean useIndex, boolean considerBoundaryIntersection) Deprecated.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<U,T> JoinQuery.SpatialJoinQueryFlat(SpatialRDD<T> spatialRDD, SpatialRDD<U> queryRDD, boolean useIndex, SpatialPredicate spatialPredicate) Inner joins two sets of geometries on specified spatial predicate.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaPairRDD<U,T> JoinQuery.SpatialJoinQueryFlat(SpatialRDD<T> spatialRDD, SpatialRDD<U> queryRDD, JoinQuery.JoinParams joinParams) static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
List<T>KNNQuery.SpatialKnnQuery(SpatialRDD<T> spatialRDD, U originalQueryPoint, Integer k, boolean useIndex) Spatial knn query.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaRDD<T>RangeQuery.SpatialRangeQuery(SpatialRDD<T> spatialRDD, org.locationtech.jts.geom.Envelope queryWindow, boolean considerBoundaryIntersection, boolean useIndex) Deprecated.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaRDD<T>RangeQuery.SpatialRangeQuery(SpatialRDD<T> spatialRDD, org.locationtech.jts.geom.Envelope queryWindow, SpatialPredicate spatialPredicate, boolean useIndex) Spatial range query.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaRDD<T>RangeQuery.SpatialRangeQuery(SpatialRDD<T> spatialRDD, U originalQueryGeometry, boolean considerBoundaryIntersection, boolean useIndex) Deprecated.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaRDD<T>RangeQuery.SpatialRangeQuery(SpatialRDD<T> spatialRDD, U originalQueryGeometry, SpatialPredicate spatialPredicate, boolean useIndex) Spatial range query.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaRDD<T>RangeQuery.SpatialRangeQuery(org.locationtech.jts.geom.Envelope queryWindow, SpatialRDD<T> spatialRDD, boolean considerBoundaryIntersection, boolean useIndex) Deprecated.static <U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
org.apache.spark.api.java.JavaRDD<T>RangeQuery.SpatialRangeQuery(U originalQueryGeometry, SpatialRDD<T> spatialRDD, boolean considerBoundaryIntersection, boolean useIndex) Deprecated. -
Uses of SpatialRDD in org.apache.sedona.core.spatialRDD
Subclasses of SpatialRDD in org.apache.sedona.core.spatialRDDModifier and TypeClassDescriptionclassThe Class CircleRDD.classThe Class LineStringRDD.classThe Class PointRDD.classThe Class PolygonRDD.classDeprecated.Constructors in org.apache.sedona.core.spatialRDD with parameters of type SpatialRDDModifierConstructorDescriptionCircleRDD(SpatialRDD spatialRDD, Double Radius) Instantiates a new circle RDD. -
Uses of SpatialRDD in org.apache.sedona.viz.core
Methods in org.apache.sedona.viz.core with parameters of type SpatialRDDModifier and TypeMethodDescriptionVisualizationOperator.Rasterize(org.apache.spark.api.java.JavaSparkContext sparkContext, SpatialRDD spatialRDD, boolean useSparkDefaultPartition) Rasterize. -
Uses of SpatialRDD in org.apache.sedona.viz.extension.visualizationEffect
Methods in org.apache.sedona.viz.extension.visualizationEffect with parameters of type SpatialRDDModifier and TypeMethodDescriptionbooleanHeatMap.Visualize(org.apache.spark.api.java.JavaSparkContext sparkContext, SpatialRDD spatialRDD) Visualize.booleanScatterPlot.Visualize(org.apache.spark.api.java.JavaSparkContext sparkContext, SpatialRDD spatialRDD) Visualize.