Function block_from_id

Source
fn block_from_id<U>(
    id: usize,
    block_shape: RasterDataShape,
    _layers: &[Layer],
    epsg_code: usize,
    image_size: ImageSize,
    block_size: BlockSize,
    overlap_size: usize,
    geo_transform: GeoTransform,
) -> RasterBlock<U>
where U: RasterType,
Expand description

Creates a RasterBlock from an ID and parameters. Used by both from_scratch() and the builder’s block_from_id() method.