Expand description
Continuous environmental raster and GeoTIFF conversion pipeline (§GAP-02).
Provides continuous f32 field handling for environmental layers (elevation,
slope, canopy height, canopy cover, solar radiation, soil moisture, rainfall),
derived raster calculations, bilinear spatial sampling, and serialisation into
the .10d Field section (FIEL).
Structs§
- Environmental
Raster Layer - Continuous environmental raster layer representation.
- GeoTiff
Raster Info - Metadata and spatial bounds extracted from a GeoTIFF header.
Enums§
- GeoTiff
Error - Error kinds for GeoTIFF parsing and decoding.
Constants§
- ENV_
CANOPY_ COVER_ URI - ENV_
CANOPY_ HEIGHT_ URI - ENV_
ELEVATION_ URI - Standard environmental raster layer identifiers and units.
- ENV_
RAINFALL_ URI - ENV_
SLOPE_ URI - ENV_
SOIL_ MOISTURE_ URI - ENV_
SOLAR_ RADIATION_ URI - UNIT_
DEGREE - UNIT_
METER - UNIT_
MILLIMETER - UNIT_
PERCENT - UNIT_
WATT_ PER_ SQM
Functions§
- compile_
environmental_ rasters_ to_ 10d - Compile a collection of environmental raster layers into
.10dField section bytes. - decode_
geotiff_ raster_ into - Zero-heap GeoTIFF raster decoder.
- derive_
canopy_ cover_ grid - Derives a local canopy cover percentage grid
[0.0, 100.0]from canopy height values. Any pixel with height >=min_height_mis considered canopy. - derive_
slope_ horn - Derives slope in degrees from an elevation heightfield using Horn’s 3x3 finite-difference algorithm. Zero heap caller-buffered.
- sample_
bilinear - Bilinear interpolation of a continuous 2D scalar grid. Zero heap, hot path.