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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static org.locationtech.jts.geom.GeometryFactory
    Deprecated.
    The geometry factory.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ShapefileRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String filePath)
    Deprecated.
    ShapefileRDD.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • geometryFactory

      public static org.locationtech.jts.geom.GeometryFactory geometryFactory
      Deprecated.
      The geometry factory.
  • Constructor Details

    • ShapefileRDD

      public ShapefileRDD(org.apache.spark.api.java.JavaSparkContext sparkContext, String filePath)
      Deprecated.
      ShapefileRDD.
      Parameters:
      sparkContext - the spark context
      filePath - 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

      public 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;