Skip to main content

Module dem_adapter

Module dem_adapter 

Source
Expand description

Consent-gated Terrarium DEM tile fetching, decoding, mosaicking, and terrain compilation.

Structs§

DemAdapter
Public, global elevation tiles in Terrarium’s 24-bit RGB elevation encoding. endpoint is an XYZ template ({z}, {x}, {y}); a bare base URL passed to new gets /terrarium/{z}/{x}/{y}.png appended for compatibility.
DemHeightfield
Region height samples decoded from Terrarium PNG tiles.
DemTerrainAsset
Fetched DEM and its compiled in-memory and .10d terrain representations.

Constants§

DEFAULT_TERRARIUM_ENDPOINT
TERRAIN_ATTRIBUTION
TERRAIN_ATTRIBUTION_URL