collect() is deprecated: collect() returns an sf object for any
query that carries a geometry column. This wrapper remains for existing code
and, unlike collect(), also accepts a data.frame that was already
collected.
Usage
collect_sf(x, geom = "geometry", crs = NULL)
Arguments
- x
A vectra_node with a hex-WKB geometry column, or a data.frame
already collected from one.
- geom
Name of the geometry column. Default "geometry".
- crs
Override the coordinate reference system. Defaults to the CRS the
node carries, or unknown.