reproject: Reproject a raster or vector dataset to the specified...

View source: R/utils.R

reprojectR Documentation

Reproject a raster or vector dataset to the specified coordinate reference system (CRS)

Description

Reproject a raster or vector dataset to the specified coordinate reference system (CRS)

Usage

reproject(x, crs, ...)

Arguments

x

Raster or vector object

crs

CRS to be projected to

...

Optional arguments for raster or vector reproject functions

Value

Object reprojected to specified CRS

Examples

# Reproject a raster to EPSG:4326
r <- terra::rast(matrix(1:12, nrow = 3, ncol = 4), crs = "EPSG:32633")
reproject(r, 4326)

rcrisp documentation built on Aug. 8, 2025, 6:42 p.m.