Expand description
Builder for constructing RasterDataset instances. RasterDatasetBuilder for creating and configuring raster datasets.
This module provides the builder pattern for constructing RasterDataset instances from various data sources including files, STAC collections, or from scratch.
StructsΒ§
- Raster
Dataset Builder - Main builder struct for constructing RasterDataset instances.
FunctionsΒ§
- block_
col_ πrow - Converts a block ID to (col, row) position in the block grid.
- block_
from_ πid - Creates a RasterBlock from an ID and parameters.
Used by both
from_scratch()and the builderβsblock_from_id()method. - get_
block_ πgt - Computes the block-level GeoTransform from a read window and image GeoTransform.
- get_
overlap π - Computes overlap for a block based on its position in the grid.
- n_
block_ πcols - Computes the number of block columns for the given image and block sizes.
- n_
block_ πrows - Computes the number of block rows for the given image and block sizes.