gdalCrop: Crop function using gdal

View source: R/gdal_raster_functions.R

gdalCropR Documentation

Crop function using gdal

Description

Crop function using gdal

Usage

gdalCrop(
  inpath,
  outpath,
  extent = NULL,
  resolution = NULL,
  return.raster = TRUE
)

Arguments

inpath

file path of the inpath raster

outpath

file path of the output raster

extent

extent for raster to be cropped to

resolution

resolution of output raster (usually based on the inpath raster)

return.raster

if TRUE raster will be returned from function call.


skiptoniam/sense documentation built on March 18, 2023, 4:36 a.m.