reproject | R Documentation |
Easy re-projecting of the epsg of sf
and
stars
objects.
reproject(obj, epsg, ...)
## S3 method for class 'sf'
reproject(obj, epsg, ...)
## S3 method for class 'stars'
reproject(obj, epsg, ...)
obj |
The sf or stars object to be re-projected. |
epsg |
The projection (currently only: |
... |
Currently not supported. |
sf or stars object
if (interactive()) {
# get data
NOAA <- get_NOAA("temperature", 1, "annual")
# reproject data with new epsg
reproject(NOAA, 3031)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.