Module builder

Source
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Β§

RasterDatasetBuilder
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’s block_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.