Decodes a single Terrarium (Mapzen / AWS Terrain Tiles) pixel into metres above sea level.
height = (R * 256 + G + B / 256) - 32768
Channel values are clamped to the 0–255 byte range.
Decodes a single Terrarium (Mapzen / AWS Terrain Tiles) pixel into metres above sea level.
height = (R * 256 + G + B / 256) - 32768Channel values are clamped to the 0–255 byte range.