Skip to main content

Crate raster_style

Crate raster_style 

Source
Expand description

Raster Style Spec v3’s Q3 binding, independent of any HTTP framework. Validation covers the schema and static cross-field constraints, not raster data availability, expression compilation, statistics or engine support.

Structs§

Codec
Error
Stable, cross-language error category and optional field location.
Options
SchemaRegistry
Offline, reusable schema registry. A URL is an identity, never a field-name hint. Registration needs exclusive access; parsing and validation can run concurrently.
Style
A normalized v3 document. Unknown declared extensions are preserved; inspect validation before execution.
ValidationReport
Preservation is not full validation when a declared schema is unavailable.

Constants§

CORE_SCHEMA_URL
Exact identity of the embedded Raster Style 3.0 core schema.
MOSAIC_SCHEMA_URL
Exact identity of the embedded Mosaic 1.0.0 extension schema.
TILE_SCHEMA_URL
Exact identity of the embedded Tile 1.0.0 extension schema.

Functions§

canonical_json
Strict JSON to RFC 8785, with ECMAScript-compatible binary64 number semantics.
decode_query
encode_query
json_to_query
query_to_json
validate_json
Fully validate with the embedded offline registry.

Type Aliases§

Result