wbt_source | R Documentation |
Initialize an R object containing spatial data for use by WhiteboxTools
wbt_source(
x,
dsn = NULL,
layer = NULL,
force = FALSE,
verbose = wbt_verbose(),
...
)
x |
A terra SpatVector or sf object, or a path to a file that can be read as a SpatVectorProxy |
dsn |
Data source path / file name |
layer |
Data layer |
force |
Force write of vector data to file? Default: FALSE (only write if file does not exist) |
verbose |
Print information about data source and contents? |
... |
Additional arguments passed to |
An R object with attributes wbt_dsn
and wbt_layer
set as needed to support reading and writing R objects from file by WhiteboxTools.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.