Create SpatVector objects
Usage
# S4 method for class 'dbSpatial'
vect(x, select = tidyselect::everything(), ...)
Arguments
- x
A
dbSpatial
object to convert into aterra::SpatVector
object- select
Columns to retain in output (default: all columns)
- ...
Additional arguments passed to
sf::st_as_sf
See also
Other dbSpatial:
as_dbSpatial()
,
dbSpatial
,
show()
,
st_as_sf.dbSpatial()
Examples
dbs <- .sim_dbSpatial()
#> Error in .sim_dbSpatial(): could not find function ".sim_dbSpatial"
vect(dbs)
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'x' in selecting a method for function 'vect': object 'dbs' not found