reproject {oceanexplorer} | R Documentation |
Re-projecting spatial objects to new epsg
Description
Easy re-projecting of the epsg of sf
and
stars
objects.
Usage
reproject(obj, epsg, ...)
## S3 method for class 'sf'
reproject(obj, epsg, ...)
## S3 method for class 'stars'
reproject(obj, epsg, ...)
Arguments
obj |
The sf or stars object to be re-projected. |
epsg |
The projection (currently only: |
... |
Currently not supported. |
Value
sf or stars object
Examples
if (interactive()) {
# get data
NOAA <- get_NOAA("temperature", 1, "annual")
# reproject data with new epsg
reproject(NOAA, 3031)
}
[Package oceanexplorer version 0.1.0 Index]