Set coordinate values
wk_set_z(handleable, z, ...)
wk_set_m(handleable, m, ...)
wk_drop_z(handleable, ...)
wk_drop_m(handleable, ...)
wk_trans_set(value, use_z = NA, use_m = NA)
A geometry vector (e.g., wkb()
, wkt()
, xy()
,
rct()
, or sf::st_sfc()
) for which wk_handle()
is defined.
A vector of Z or M values applied feature-wise and recycled
along handleable
. Use NA
to keep the existing value of a given
feature.
Passed to the wk_handle()
method.
An xy()
, xyz()
, xym()
, or xyzm()
of coordinates
used to replace values in the input. Use NA
to keep the existing
value.
Used to declare the output type. Use TRUE
to
ensure the output has that dimension, FALSE
to ensure it does not,
and NA
to leave the dimension unchanged.