mapbox / mapnik-vector-tile

Mapnik implemention of Mapbox Vector Tile specification
BSD 3-Clause "New" or "Revised" License
553 stars 117 forks source link

Add 'upgrade=bool' option to composite #201

Closed springmeyer closed 6 years ago

springmeyer commented 8 years ago

To force upgrading v1->v2 tiles in the composite function you can currently pass reencode:true. However, that will trigger all tiles to be re-encoded, at all zoom levels, including v2 tiles. Ideally one could pass upgrade:true to the code and have only v1 tiles re-reencoded. Any v2 tiles would be appended with append_layer_buffer for best performance.

This is important now that we anticipate wanting to/having to handle mixed v1 and v2 at the same time.

/cc @flippmoke @jakepruitt @yhahn

springmeyer commented 6 years ago

no longer needed since upgrading has not been a common usecase.