Closed mitchellmanware closed 4 months ago
@mitchellmanware For brevity, how about using keep
(as keepgeom
in terra::vect()
) or remove
(remove
in sf::st_as_sf()
)?
I also wanted to limit the number of columns in the output for easier interpretation, but I agree including the geometries with the "locs_id" is essential information.
@sigmafelix
Update for users to retain extraction location (point or polygon) geometries. I utilized the "WKT" format for the consistency of returning geometries in a single $geometry
column.
@mitchellmanware Thank you for working on this. I suggest setting the argument for returning geometry FALSE
as default since polygon WKTs would become massive depending on the data resolution.
@sigmafelix
Default will be FALSE
and i have included a note for long geometry strings associated with polygon features.
@mitchellmanware Sounds great, thank you!
Currently,
calc_worker
limits output to thelocs_id
,time
,levels
, and data value columns. It does not return the other columns fromlocs
.Add
retain_columns
(or similar name) to allow user to retain all data fromlocs
.