Skip to contents

Check if all of "lon", "lat", and "time" (only if check_time = TRUE) then convert inputs into a SpatVector object.

Usage

process_conformity(locs = NULL, check_time = FALSE, locs_epsg = "EPSG:4326")

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.

Value

a SpatVector object

Author

Insang Song