Expand description
Request schema, validation and profile-source loading.
Structs§
- AoiSpec
- Budgets
- Legacy
Grid - Profile
Data - Loaded profile data, before interpolator preparation.
- Profile
Estimate - Pre-read memory estimate for loading and preparing one profile.
- Profile
Spec - Session
Request
Enums§
- CrsIdentity
- How the terrain CRS is established equal to the session EPSG. Never inferred silently.
- Error
Policy - Grid
Spec - Mask
Data - Nodata
Policy - Product
- Profile
Source - Query
Convention - Terrain
Spec
Constants§
- LEGACY_
JSON_ PEAK_ FACTOR - Bytes per JSON byte assumed for a fully parsed legacy request plus its preparation. Derived
from the worst-case textual densities (e.g.
0,-> 16-byteOption<f64>,[1,2,3],-> 24-byte simplex plus prepared triangle and bulk-load copy) with 2xVecgrowth slack. A conservative heuristic, not a proof: usebinarysources where a tight pre-read estimate matters. - MAX_
BINARY_ BYTES - MAX_
JSON_ BYTES - MAX_
PROFILE_ PIXELS - MAX_
THREADS - READ_
CHUNK_ BYTES - Chunk size of the streaming binary decoder.
- SESSION_
SCHEMA
Functions§
- id_key
- Case-insensitive identity of an id (two ids with equal keys collide on NTFS).
- read_
json - resolve
- validate_
id - Ids name output directories, so they must be path-safe on Linux and Windows/NTFS (including
drvfs/SMB):
[A-Za-z0-9_.-]{1,64}, not./.., no trailing., no Windows device name. Uniqueness is checked case-insensitively by the caller (id_key).