spatial_query | R Documentation |
Given a spatial RDD, run a spatial query parameterized by a spatial object
x
.
rdd |
A Sedona spatial RDD. |
x |
The query object. |
index_type |
Index to use to facilitate the KNN query. If NULL, then
do not build any additional spatial index on top of |
result_type |
Type of result to return.
If "rdd" (default), then the k nearest objects will be returned in a Sedona
spatial RDD.
If "sdf", then a Spark dataframe containing the k nearest objects will be
returned.
If "raw", then a list of k nearest objects will be returned. Each element
within this list will be a JVM object of type
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.