The CRS handling in the wk package requires two sentinel CRS values.
The first, wk_crs_inherit()
, signals that the vector should inherit
a CRS of another vector if combined. This is useful for empty, NULL
,
and/or zero-length geometries. The second, wk_crs_auto()
, is used
as the default argument of crs
for constructors so that zero-length
geometries are assigned a CRS of wk_crs_inherit()
by default.
wk_crs_inherit()
wk_crs_longlat(crs = NULL)
wk_crs_auto()
wk_crs_auto_value(x, crs)