Get or set global duckspatial options
Arguments
- output_type
Character string. Controls the default return type for spatial operations. Must be one of:
"duckspatial_df"(default): Lazy spatial data frame backed by dbplyr/DuckDB."sf": Eagerly collectedsfobject (in-memory)."tibble": Eagerly collectedtibblewithout geometry."raw": Eagerly collectedtibblewith geometry as raw WKB bytes."geoarrow": Eagerly collectedtibblewith geometry asgeoarrow_vctr.
If
NULL(the default), the existing option is not changed.- mode
Character. Controls the return type. Options:
"duckspatial"(default): Lazy spatial data frame backed by dbplyr/DuckDB"sf": Eagerly collected sf object (uses memory)
If
NULL(the default), the existing option is not changed.
