tilezen / mapbox-vector-tile

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

erroneous scale_rank values of True #96

Open rmarianski opened 6 years ago

rmarianski commented 6 years ago

scale_rank values of True are erroneously appearing in tiles. Example tile:

https://tile.mapzen.com/mapzen/vector/v1/512/all/16/19293/24639.mvt

rmarianski commented 6 years ago

This is happening because both the values of True and 1 are evaluating to the same index in the value to index mapping dict.