DTT class

Digital Terrain Tile

One addressable tile of a terrain elevation pyramid: its address in a stated tiling scheme, its geographic extent, its payload encoding and where those bytes live, the vertical datum its heights are measured from, what it states about water cover, and the dataset edition and licence it was redistributed under.

$DTT is the SERVED ARTIFACT of a terrain lane and is deliberately not $TRN, which configures how a consumer uses terrain (sources, interpolation, cache size, exaggeration) and holds no elevation; nor $TRS, which is a radio-propagation solve over terrain heights. A terrain service publishes $DTT records, is configured by $TRN, and its heights may be consumed by $TRS.

Angles are decimal degrees on WGS 84 and heights are metres. A tile of another body names it in CENTER_NAME; its angles are then planetocentric degrees on that body's reference body (REFERENCE_RADII_M), not WGS 84. Tile bytes are referenced by content identifier by default; see DTTPayloadRef.

Constructors

DTT(List<int> bytes)
factory

Properties

ACCURACY_CONFIDENCE → double
Confidence level the accuracy figures are stated at, as a fraction between 0 and 1.
no setter
accuracyConfidence → double
no setter
CENTER_NAME → String?
The body the tile describes, spelled as the CCSDS ODM/OMM CENTER_NAME keyword (SANA celestial body registry: EARTH, MOON, MARS). Absent means EARTH, so every tile published before 1.191.0 reads unchanged.
no setter
centerName → String?
no setter
CHILD_AVAILABILITY → int
Availability of the four child tiles at LEVEL+1, as the low four bits: bit 0 south-west, bit 1 south-east, bit 2 north-west, bit 3 north-east. A set bit states the child exists in this tileset.
no setter
childAvailability → int
no setter
DATA_COVERAGE_FRACTION → double
Fraction of the tile extent covered by real measurements rather than interpolated or filled values, between 0 and 1.
no setter
dataCoverageFraction → double
no setter
EAST_DEG → double
Eastern extent of the tile, decimal degrees on CENTER_NAME's reference body (planetocentric for any body other than EARTH), east positive.
no setter
eastDeg → double
no setter
EPOCH → String?
RFC 3339 UTC fixed-millisecond epoch the elevations represent, when the dataset states an observation epoch distinct from its edition. Terrain changes; a tile compared across time is compared at this epoch.
no setter
ETAG → String?
Entity tag for the served bytes, verbatim, so a cache can revalidate.
no setter
EXPIRES → String?
RFC 3339 UTC timestamp after which this tile should be revalidated.
no setter
GRID_HEIGHT → int
Number of height posts down the tile for gridded formats.
no setter
GRID_WIDTH → int
Number of height posts across the tile for gridded formats. Unset for mesh formats, whose vertex count varies.
no setter
gridHeight → int
no setter
gridWidth → int
no setter
hashCode → int
The hash code for this object.
no setterinherited
HORIZON_ELEVATIONS → DTTPayloadRef?
Horizon elevation angles the publisher precomputed for the tile's posts, for lighting and visibility without a height search. One unsigned byte per post and sector: posts in the order of PAYLOAD's grid (row-major from the north-west post), sector the fastest index. Sector k is centred on azimuth k360/HORIZON_SECTORS degrees, clockwise from north. A byte v is the elevation angle of the terrain horizon above the local horizontal at the post, v90/255 degrees; a horizon at or below the horizontal is 0.
no setter
HORIZON_SECTORS → int
Number of azimuth sectors in HORIZON_ELEVATIONS (0 when it is absent).
no setter
horizonElevations → DTTPayloadRef?
no setter
horizonSectors → int
no setter
HORIZONTAL_ACCURACY_M → double
Horizontal accuracy the publisher states for this tile, metres.
no setter
HORIZONTAL_DATUM_NAME → String?
Horizontal reference frame the extent is expressed in, verbatim, when it is not WGS 84.
no setter
horizontalAccuracyM → double
no setter
horizontalDatumName → String?
no setter
LAND_COVER → DTTPayloadRef?
Per-sample land-cover classification accompanying the tile, when the publisher serves one.
no setter
landCover → DTTPayloadRef?
no setter
LEVEL → int
Zoom level of the tile, 0 at the pyramid root.
no setter
MAX_HEIGHT_M → double
Highest height present in the tile, metres above VERTICAL_DATUM.
no setter
MAX_LEVEL → int
The deepest level this tileset serves anywhere. A consumer stops requesting below it rather than discovering absence by failed fetches.
no setter
maxHeightM → double
no setter
maxLevel → int
no setter
MIN_HEIGHT_M → double
Lowest height present in the tile, metres above VERTICAL_DATUM. Stated so a consumer can build a bounding volume without decoding the payload.
no setter
minHeightM → double
no setter
NO_DATA_VALUE → double
Height value used to mark absent samples in gridded payloads.
no setter
noDataValue → double
no setter
NORTH_DEG → double
Northern extent of the tile, decimal degrees on CENTER_NAME's reference body (planetocentric for any body other than EARTH).
no setter
northDeg → double
no setter
PAYLOAD → DTTPayloadRef?
The tile's elevation bytes.
no setter
PAYLOAD_FORMAT → dttPayloadFormat
Encoding of the payload bytes.
no setter
PAYLOAD_FORMAT_VERSION → String?
Version of PAYLOAD_FORMAT the bytes conform to, verbatim, when the format is versioned.
no setter
payloadFormat → dttPayloadFormat
no setter
payloadFormatVersion → String?
no setter
POST_SPACING_M → double
Nominal ground distance between adjacent height posts at the tile centre, metres. The tile's effective resolution as served, which is not necessarily the source dataset's native post spacing.
no setter
postSpacingM → double
no setter
PROVENANCE → DTTProvenance?
Dataset lineage and redistribution terms. Required.
no setter
REFERENCE_RADII_M → List<double>?
Radii of CENTER_NAME's reference body, metres. One value is a sphere; two are equatorial then polar (a spheroid); three are the semi-axes a (towards 0 degrees longitude), b (towards 90 degrees east) and c (polar). Empty for EARTH, whose shape is WGS 84. Required for a REFERENCE_SPHERE datum, which reads the first value.
no setter
referenceRadiiM → List<double>?
no setter
REMARKS → String?
Free-form publisher notes about this tile. Never a substitute for a stated field.
no setter
ROW_ORIGIN_NORTH → bool
Row index 0 lies at the north edge of the scheme. When false, row 0 lies at the south edge.
no setter
rowOriginNorth → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SOURCE_CLASS → dttSourceClass
Production technique class of the source elevations.
no setter
SOURCE_POST_SPACING_M → double
Native post spacing of the source elevations, metres, when the tile was resampled from a coarser or finer grid.
no setter
sourceClass → dttSourceClass
no setter
sourcePostSpacingM → double
no setter
SOUTH_DEG → double
Southern extent of the tile, decimal degrees on CENTER_NAME's reference body (planetocentric for any body other than EARTH).
no setter
southDeg → double
no setter
TILESET_ID → String?
Publisher-stable identifier for the tile pyramid (the tileset) this tile belongs to. Tiles of one pyramid share a scheme, format, and datum.
no setter
TILESET_NAME → String?
The tileset's own name, verbatim, for display.
no setter
tilesetId → String?
no setter
tilesetName → String?
no setter
TILING_SCHEME → dttTilingScheme
Scheme the address below is expressed in.
no setter
tilingScheme → dttTilingScheme
no setter
VERTEX_NORMALS → DTTPayloadRef?
Per-sample surface normals accompanying the tile, when the publisher serves them, so a consumer need not derive lighting from heights.
no setter
vertexNormals → DTTPayloadRef?
no setter
VERTICAL_ACCURACY_M → double
Vertical accuracy the publisher states for this tile, metres, at the confidence level stated in ACCURACY_CONFIDENCE.
no setter
VERTICAL_DATUM → dttVerticalDatum
Surface the heights are measured from.
no setter
VERTICAL_DATUM_NAME → String?
The datum, geoid model, or vertical reference frame named verbatim as its authority states it.
no setter
verticalAccuracyM → double
no setter
verticalDatum → dttVerticalDatum
no setter
verticalDatumName → String?
no setter
WATER_MASK → DTTPayloadRef?
The per-sample water mask bytes when WATER_MASK_KIND is RASTER: one unsigned byte per sample, 255 fully water, 0 fully land.
no setter
WATER_MASK_HEIGHT → int
no setter
WATER_MASK_KIND → dttWaterMask
What the tile states about water cover.
no setter
WATER_MASK_PROVENANCE → DTTProvenance?
Dataset the water mask was derived from, when it is not the elevation dataset. A separate lineage because a mask carries its own licence.
no setter
WATER_MASK_WIDTH → int
Number of mask samples across and down the tile when WATER_MASK_KIND is RASTER. Independent of GRID_WIDTH/GRID_HEIGHT: a mask is commonly carried at a different resolution than the heights.
no setter
waterMask → DTTPayloadRef?
no setter
waterMaskHeight → int
no setter
waterMaskKind → dttWaterMask
no setter
waterMaskProvenance → DTTProvenance?
no setter
waterMaskWidth → int
no setter
WEST_DEG → double
Western extent of the tile, decimal degrees on CENTER_NAME's reference body (WGS 84 for EARTH; planetocentric for any other body).
no setter
westDeg → double
no setter
X → int
Column index within LEVEL, increasing eastward from the scheme origin.
no setter
Y → int
Row index within LEVEL, increasing in the scheme's own row direction; ROW_ORIGIN_NORTH states which.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

reader → const Reader<DTT>