Class ShapefileRDD
- java.lang.Object
-
- org.apache.sedona.core.formatMapper.shapefileParser.ShapefileRDD
-
- All Implemented Interfaces:
Serializable
@Deprecated public class ShapefileRDD extends Object implements Serializable
Deprecated.The Class ShapefileRDD.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static org.locationtech.jts.geom.GeometryFactory
geometryFactory
Deprecated.The geometry factory.
-
Constructor Summary
Constructors Constructor Description ShapefileRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String filePath)
Deprecated.ShapefileRDD.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
count()
Deprecated.Count.BoundBox
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>
getLineStringRDD()
Deprecated.Gets the line string RDD.org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Point>
getPointRDD()
Deprecated.Gets the point RDD.org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Polygon>
getPolygonRDD()
Deprecated.Gets the polygon RDD.org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.Geometry>
getShapeRDD()
Deprecated.Gets the shape RDD.
-
-
-
Constructor Detail
-
ShapefileRDD
public ShapefileRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String filePath)
Deprecated.ShapefileRDD.- Parameters:
sparkContext
- the spark contextfilePath
- the file path
-
-
Method Detail
-
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
-
-