sedona_spatial_rdd_data_source {apache.sedona}R 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).


[Package apache.sedona version 1.5.1 Index]