sedona.spark.core.formatMapper.shapefileParser package

Submodules

sedona.spark.core.formatMapper.shapefileParser.shape_file_reader module

class sedona.spark.core.formatMapper.shapefileParser.shape_file_reader.ShapefileReader[source]

Bases: GeoDataReader

__init__() None

Method generated by attrs for class ShapefileReader.

classmethod readToGeometryRDD(sc: SparkContext, inputPath: str) SpatialRDD[source]
Parameters:
  • sc

  • inputPath

Returns:

classmethod readToLineStringRDD(sc: SparkContext, inputPath: str) LineStringRDD[source]
Parameters:
  • sc

  • inputPath

Returns:

classmethod readToPointRDD(sc: SparkContext, inputPath: str) PointRDD[source]
Parameters:
  • sc

  • inputPath

Returns:

classmethod readToPolygonRDD(sc: SparkContext, inputPath: str) PolygonRDD[source]
Parameters:
  • sc

  • inputPath

Returns:

Module contents