Clipping Operations#

The clipping module contains functions for clipping and masking rasters using vectors or bounding boxes.

Operations#

clip(feature, data_raster[, bounds])

Clip the data raster using the given feature.

clip_box(raster, bounds)

Clip the raster to the specified box.

envelope(feature, data_raster)

Clip the data raster using the bounds of the given feature.

erase(feature, data_raster[, bounds])

Erase the data raster using the given feature.

mask(feature, data_raster[, invert])

Mask the data raster using the given feature.