Skip to contents

Easy re-projecting of the epsg of sf and stars objects.

Usage

reproject(obj, epsg, ...)

# S3 method for sf
reproject(obj, epsg, ...)

# S3 method for stars
reproject(obj, epsg, ...)

Arguments

obj

The sf or stars object to be re-projected.

epsg

The projection (currently only: "3031", or "3995").

...

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)
}