gdal.clip_raster_by_extent

Clip a raster to a bounding box in its source CRS.

  • Kind: standard
  • Network: no
  • Wraps: gdalwarp (bbox)

Inputs🔗

NameTypeDescription
sourcefile (GeoTIFF)Raster to clip.
xminnumberMinimum X (source CRS units).
yminnumberMinimum Y (source CRS units).
xmaxnumberMaximum X (source CRS units).
ymaxnumberMaximum Y (source CRS units).

Outputs🔗

NameTypeDescription
rasterfile (GeoTIFF)Clipped raster.