Expand description
Sampling and extraction methods. Sampling and extraction methods for RasterDataset.
This module contains methods for extracting values from raster blocks at vector points.
Functionsยง
- assemble_
block_ ๐results - Shared helper: assembles parallel block results into a BTreeMap. Generic over the key type (i16 or i64).
- build_
block_ ๐index_ pipeline - Shared helper: builds the index-to-blocks pipeline. Returns (id_indices, blocks_to_process) from geometry data.
- collect_
points_ ๐for_ block - Shared helper: collects pos/idx/pids for a given block ID.
- make_
rectangle ๐ - Shared helper: creates a Rectangle from buffer size.
- sample_
value ๐ - Samples a value from a 2D array at the given point using the specified method.
- validate_
buffer_ ๐size - Shared helper: validates buffer size against overlap size.