Skip to main content

Module render

Module render 

Source
Expand description

Raster Style render plans, expressions, color maps and image encoding.

Re-exports§

pub use pipeline::render;
pub use pipeline::CompiledTileStyle;

Modules§

colormap
Built-in colormap LUTs used by the Raster Style adapter.
encode
Tile encoders for interleaved RGBA Array3<u8> of shape (H, W, 4).
expression
Arithmetic band-math expression: parse (b5-b4)/(b5+b4) → RPN, eval per-pixel. Grammar is arithmetic-only: + - * /, unary minus, parens, float literals, b<N>. Numbers are plain decimals (2.5, 0.5); scientific notation (1e3) is not supported.
pipeline
Render an immutable Raster Style plan after reading/warping its source.