tilezen / mapbox-vector-tile

Python package for encoding & decoding Mapbox Vector Tiles
MIT License
240 stars 47 forks source link

Use a separate values index for booleans #97

Closed rmarianski closed 6 years ago

rmarianski commented 6 years ago

Connects to https://github.com/tilezen/mapbox-vector-tile/issues/96

This prevents collisions between boolean and integer values. In python: 1 == True and 0 == False. But, we don't want these to point to the same value in the index table.

rmarianski commented 6 years ago

@iandees, @zerebubuth looks like travis is seg faulting for both python 2 and 3? Locally the tests run fine for me.

rmarianski commented 6 years ago

I kicked off a build on master to check, which matches the v1.2.0 tag, and travis fails on that too. I'll merge this in, and I created another issue to track fixing the failure.