Skip to contents

Computations and Views

Manage execution and lazy views

sx_as_view()
Register object as a named SedonaDB view (Lazy)
sx_create_table()
Materialize a view into a memory table
sx_drop_view()
Drop a registered view or table
sx_list()
List registered tables and views
sx_collect()
Collect SedonaDB result to sf with Safety Guardrails
sx_sql()
Execute SQL with R object interpolation

Data I/O

Read and write spatial data

sx_read()
Read spatial data into SedonaDB
sx_write()
Write spatial data to disk
sx_layers()
List layers in a spatial file
sx_drivers()
Get list of supported spatial drivers and file formats
sx_duckdb_to_sedona()
Ingest data from DuckDB to SedonaDB

Geometric Operations

Transform and query geometries

sx_buffer()
Compute buffer around geometries
sx_centroid()
Compute centroid of geometries
sx_envelope()
Compute envelope (bounding box) of geometries
sx_simplify()
Simplify geometries
sx_transform()
Transform coordinate reference system
sx_crs()
Get CRS from a SedonaDB view or sedonadb_dataframe
sx_geometry_column()
Get the name of the geometry column
sx_use_s2()
Set or get the global S2 usage preference for sx

Spatial Analysis

Join and filter spatial data

sx_join()
Spatial join for sf objects using SedonaDB
sx_filter()
Performs spatial filter of two geometries using SedonaDB
sx_interpolate_aw()
Areal-Weighted Interpolation using SedonaDB

Data Manipulation

Supported dplyr verbs

sx_dplyr select rename mutate filter arrange distinct pull collect
Dplyr verbs for SedonaDB
sx_dplyr_joins left_join inner_join
Dplyr joins for SedonaDB

Configuration

Package settings and utilities

sx_options()
Get or set global sx options
sx_limit_duckdb_conn()
Manually applies sx resource limits (threads, memory) to a given DuckDB connection.
sx_sitrep()
Report sx configuration status