transform_coords {amt} | R Documentation |
Transform CRS
Description
Transforms the CRS for a track.
Usage
transform_coords(x, ...)
## S3 method for class 'track_xy'
transform_coords(x, crs_to, crs_from, ...)
transform_crs(x, ...)
Arguments
x |
|
... |
Further arguments, none implemented. |
crs_to |
|
crs_from |
|
Value
A track with transformed coordinates.
See Also
sf::st_transform
Examples
data(deer)
get_crs(deer)
# project to geographical coordinates (note the CRS is taken automatically from the object deer).
d1 <- transform_coords(deer, crs_to = 4326)
[Package amt version 0.2.2.0 Index]