mapbox/tile-count

Keep raising the density threshold until tiles are small enough

Closed this issue · 5 comments

e-n-f commented

Some tiles are coming out larger than 500K.

Great idea, would this be global or per zoom level?

e-n-f commented

Per zoom level would probably be good enough. Per tile is actually what I was thinking but it might look bad.

Either global or per zoom level means having to make another pass through the whole thing if it needs to raise the limit, unfortunately, while per-tile would be self-contained.

@ericfischer is this something we can work around manually in the meantime by increasing the maxZoom param in telemetry-density-map, or unrelated?

e-n-f commented

@mtirwin Yes, if you raise the maxZoom and lower the density you will end up with the same ultimate data, one zoom higher than before, with each tile being smaller.

e-n-f commented

Added -K option in #35.

This only ended up affecting a single tile in the global tileset (5/8/12).