reproject {rcrisp} | R 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)
[Package rcrisp version 0.1.4 Index]