Class ShapefileRDD
java.lang.Object
org.apache.sedona.core.formatMapper.shapefileParser.ShapefileRDD
- All Implemented Interfaces:
Serializable
Deprecated.
The Class ShapefileRDD.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.locationtech.jts.geom.GeometryFactoryDeprecated.The geometry factory. -
Constructor Summary
ConstructorsConstructorDescriptionShapefileRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String filePath) Deprecated.ShapefileRDD. -
Method Summary
Modifier and TypeMethodDescriptionlongcount()Deprecated.Count.getBoundBox(org.apache.spark.api.java.JavaSparkContext sc, String inputPath) Deprecated.read and merge bound boxes of all shapefiles user input, if there is no, leave BoundBox null;org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.LineString>Deprecated.Gets the line string RDD.org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Point>Deprecated.Gets the point RDD.org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Polygon>Deprecated.Gets the polygon RDD.org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Geometry>Deprecated.Gets the shape RDD.
-
Field Details
-
geometryFactory
public static org.locationtech.jts.geom.GeometryFactory geometryFactoryDeprecated.The geometry factory.
-
-
Constructor Details
-
ShapefileRDD
Deprecated.ShapefileRDD.- Parameters:
sparkContext- the spark contextfilePath- the file path
-
-
Method Details
-
getShapeRDD
public org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Geometry> getShapeRDD()Deprecated.Gets the shape RDD.- Returns:
- the shape RDD
-
getPointRDD
public org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Point> getPointRDD()Deprecated.Gets the point RDD.- Returns:
- the point RDD
-
getPolygonRDD
public org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Polygon> getPolygonRDD()Deprecated.Gets the polygon RDD.- Returns:
- the polygon RDD
-
getLineStringRDD
public org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.LineString> getLineStringRDD()Deprecated.Gets the line string RDD.- Returns:
- the line string RDD
-
count
public long count()Deprecated.Count.- Returns:
- the long
-
getBoundBox
Deprecated.read and merge bound boxes of all shapefiles user input, if there is no, leave BoundBox null;
-