mapbox / vector-tile-spec

Mapbox Vector Tile specification
https://www.mapbox.com/vector-tiles/specification/
Other
890 stars 209 forks source link

Update to use elevation data as an sint64 #140

Closed flippmoke closed 5 years ago

flippmoke commented 5 years ago

This changes the way that elevation data can be encoded in the protobuf. While normally we do not want to encourage values larger than int64 for normal encodings, when using elevation scaling it is still preferred to use int64 values slightly larger than int32 range rather than using doubles.

flippmoke commented 5 years ago

I am going to close this for now, I am not 100% certain we need this and it makes the delta encoding slightly different from the other two dimensions.