crop_geotiff#

crop_geotiff(src_uri: str, window: Box, dst_uri: str)[source]#

Create a new GeoTIFF from a crop of an existing GeoTIFF.

Parameters:
  • src_uri (str) – Source GeoTIFF URI to read from.

  • window (Box) – Window specifying the crop bounds.

  • dst_uri (str) – Crop GeoTIFF URI to write to.