pyflwdir.FlwdirRaster.set_transform#
- FlwdirRaster.set_transform(transform: Affine, latlon: bool = False) None[source]#
Set the affine transform and coordinate-system type.
- Parameters:
transform (affine transform) – Affine transform mapping pixel coordinates to map coordinates.
latlon (bool, optional) – Whether coordinates use the WGS84 geographic coordinate system. If True, cell areas are converted from degrees to square metres; otherwise coordinates are assumed to use metres, by default False.