Class ShapefileRDD

    • 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.
    • Field Detail

      • geometryFactory

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

      • ShapefileRDD

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