reproject_std {chopin} | R Documentation |
Check coordinate system then reproject
Description
The input is checked whether its coordinate system is
present. If not, it is reprojected to the CRS specified in
crs_standard
.
Usage
reproject_std(input, crs_standard = "EPSG:4326")
Arguments
input |
Input object one of sf or terra::Spat* object |
crs_standard |
character(1). A standard definition of
coordinate reference system. Default is |
Value
A (reprojected) sf
or SpatVector
object.
Note
This function works well with EPSG codes.
Author(s)
Insang Song
See Also
Other Helper functions:
datamod()
,
dep_check()
,
dep_switch()
,
get_clip_ext()
,
par_def_q()
,
reproject_to_raster()
[Package chopin version 0.9.4 Index]