sedona_spatial_rdd_data_source: Create a SpatialRDD from an external data source.

sedona_spatial_rdd_data_sourceR Documentation

Create a SpatialRDD from an external data source.

Description

Import spatial object from an external data source into a Sedona SpatialRDD.

Arguments

sc

A spark_connection.

location

Location of the data source.

type

Type of the SpatialRDD (must be one of "point", "polygon", or "linestring".

has_non_spatial_attrs

Whether the input contains non-spatial attributes.

storage_level

Storage level of the RDD (default: MEMORY_ONLY).

repartition

The minimum number of partitions to have in the resulting RDD (default: 1).


apache.sedona documentation built on Sept. 11, 2024, 5:24 p.m.