onstove.RasterLayer.calculate_default_transform#
- RasterLayer.calculate_default_transform(dst_crs: CRS) tuple[AffineTransform, int, int] [source]#
Wrapper function to calculate the default transform using the rasterio.warp.calculate_default_transform function.
- Parameters:
- dst_crs: rasterio.crs.CRS or dict
Target coordinate reference system. this can be anything accepted by rasterio.warp.reproject.
- Returns:
- Tuple of Affine transform, int and int
Output affine transformation matrix, width and height.