VeloxRaster_crop

0th

Percentile

Crop a VeloxRaster object

crops a VeloxRaster object

Arguments
y

An object from which an extent object can be extracted. Usually a sf, Spatial* or Raster* object.

Details

Crops a VeloxRaster object to the extent of y.

Value

Void.

Aliases
  • VeloxRaster_crop
Examples
# NOT RUN {
## Make VeloxRaster
mat <- matrix(1:100, 10, 10)
vx <- velox(mat, extent=c(0,1,0,1), res=c(0.1,0.1), crs="+proj=longlat +datum=WGS84 +no_defs")
## Crop
vx$crop(c(0.3,0.7,0.3,0.7))
vx$extent

# }
Documentation reproduced from package velox, version 0.2.0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.