felt / tippecanoe

Build vector tilesets from large collections of GeoJSON features.
BSD 2-Clause "Simplified" License
874 stars 76 forks source link

highz precision values #208

Closed zabop closed 5 months ago

zabop commented 5 months ago

I believe there is a typo in the current table of precision values. The README says a few lines after the table:

All internal math is done in terms of a 32-bit tile coordinate system, so 1/(2^32) of the size of Earth, or about 1cm, is the smallest distinguishable distance. If maxzoom + detail > 32, no additional resolution is obtained than by using a smaller maxzoom or detail, and the detail of tiles will be reduced to the maximum that can be used with the specified maxzoom.

So there shouldn't be a zoom level where the precision is better than 1 cm.

e-n-f commented 5 months ago

Good catch! Thanks!