A rectangular subset of a raster.
Windows define pixel regions using column/row offsets and dimensions.
This class is similar to rasterio's Window but supports
integer offsets and ranges only.
col_off
instance-attribute
The column offset (x position of the left edge).
height
instance-attribute
The height in pixels (number of rows).
row_off
instance-attribute
The row offset (y position of the top edge).
width
instance-attribute
The width in pixels (number of columns).
intersection
Compute the intersection with another window.
Parameters:
Returns:
-
Window
–
A new Window representing the overlapping region.
Raises: