mapbox / vector-tile-spec

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

Delta encoding between features #122

Closed e-n-f closed 6 years ago

e-n-f commented 6 years ago

If we do change the format incompatibly to improve compression, it may also be worth encoding each feature's location as a delta from the previous one, instead of beginning every feature with a moveto from (0,0).

joto commented 6 years ago

This would make it basically impossible to only decode the geometry of some of the features for instance when filtering based on the properties.

e-n-f commented 6 years ago

Thanks. Not practical in spite of the improved performance.