TransformerId

Per-pixel transforms applied to a decoded encoded tile before it reaches the renderer.

Some weather products are not served as their own dataset. They are derived on the client from a pack of source datasets: the tile request asks for precipitation rate, precipitation type and temperature, and a transformer rewrites those three bands into the single derived value the layer actually draws. Sleet and ice accumulation work this way.

A transformer runs once per interval strip, on the padded pixel data, before edge blending, so neighbouring tiles blend already-derived values rather than raw source bands.

Mirrors the MapsGL JS worker transformers. JS resolves a TransformerId against a static registry inside the worker bundle rather than serializing a closure. TileDataTransformers.forId resolves an id to its implementation.

Entries

Link copied to clipboard

Derived sleet accumulation. See SleetTransformer.

Link copied to clipboard

Derived ice accumulation. See IceTransformer.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.