Import spatial object from an external data source into a Sedona SpatialRDD.
A spark_connection.
Location of the data source.
Type of the SpatialRDD (must be one of "point", "polygon", or "linestring".
Whether the input contains non-spatial attributes.
Storage level of the RDD (default: MEMORY_ONLY).
The minimum number of partitions to have in the resulting RDD (default: 1).