Skip to content

Commit cf17276

Browse files
committed
Add terrarium encoding for terrain.
1 parent 0cebcae commit cf17276

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

spec/v3/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## Version 3.6
4+
- Add `terrarium` encoding for terrain.
5+
36
## Version 3.5
47
- add [MapLibre Vector Tile](https://github.com/maplibre/maplibre-tile-spec) `.mlt` enum by @msbarry [#596]
58

@@ -18,4 +21,4 @@
1821
## Version 3.1
1922
- added `metadata` details about `vector_layers`.
2023
- Clarified that directory entry lengths must be nonzero, and directories must be non-empty.
21-
- add AVIF to TileTypes.
24+
- add AVIF to TileTypes.

spec/v3/spec.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ Additionally, this specification defines the following keys, which MAY be includ
374374
|`attribution`|An attribution to be displayed when the map is shown to a user. Implementations MAY decide to treat this as HTML or literal text. |string|
375375
|`type`|The type of the tileset |a string with a value of either `overlay` or `baselayer`|
376376
|`version`|The version number of the tileset|a string containing a valid version according to [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html) |
377+
|`encoding`|Any additional encoding applied to tile data. A value of `terrarium` means the tileset is a Digital Terrain Model with elevation in meters equal to `(red * 256 + green + blue / 256) - 32768`.|string|
377378

378379
---
379380

0 commit comments

Comments
 (0)