Skip to content

Conversation

systemed
Copy link
Owner

Currently we offer only AttributeNumeric for writing numeric values from Lua. This is mapped to a (4-byte) float in the vector tile. Floats are lossy and potentially less efficient.

This adds an AttributeInteger method, which writes int values to the vector tile. Internally this is currently stored as a double (so much less lossy), and on output to the vector tile it should use fewer bytes in most circumstances.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant