projection {trackdf} | R Documentation |
Access/Modify the Projection of a Track Table
Description
Functions to access or modify the projection of a data table. Changing the projection will trigger automatically the conversion of the locations in the new coordinate system.
Usage
projection(x)
projection(x) <- value
project(x, value)
Arguments
x |
A track table. |
value |
A character string or a |
Value
A track table.
Note
It is not possible to modify the projection if missing coordinates are present.
Author(s)
Simon Garnier, garnier@njit.edu
See Also
Examples
data(short_tracks)
projection(short_tracks)
tracks_projected <- project(short_tracks, "+proj=somerc")
projection(tracks_projected)
projection(tracks_projected) <- "+proj=longlat"
projection(tracks_projected)
[Package trackdf version 0.3.3 Index]