Check if all of "lon"
, "lat"
, and "time"
(only if check_time = TRUE
) then convert inputs into a
SpatVector
object.
Arguments
- locs
Data. sf, SpatVector, or data.frame
- check_time
logical(1). Whether
"time"
exists in column names.- locs_epsg
character(1).
"{authority}:{code}"
or Well-Known Text format for coordinate reference system definition.