| st_write.vectra_node | R Documentation |
An sf::st_write() method (also reached through sf::write_sf()) for a
vectra_node: writes the result a batch at a time, appending each, so the
whole layer is never held in memory. This is the streaming counterpart to
collect_sf(x) |> sf::st_write(...) – that route materializes every feature
as an sf object first, which for a multi-million-feature result dominates
memory; this route's peak is one batch.
## S3 method for class 'vectra_node'
st_write(
obj,
dsn,
layer = NULL,
...,
geom = "geometry",
crs = NULL,
delete_dsn = FALSE,
quiet = TRUE
)
obj |
A |
dsn |
Destination data source name (file path). |
layer |
Layer name. |
... |
Unused; for S3 generic compatibility. |
geom |
Name of the hex-WKB geometry column. Default |
crs |
CRS to tag the output with. |
delete_dsn |
If |
quiet |
Passed to |
The dsn, invisibly.
collect_sf() to materialize the whole result as one sf object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.