mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 18:05:42 +02:00
Even if the maxzoom is very high, don't use more bits of precision than exist
This commit is contained in:
@@ -2259,6 +2259,9 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
geometry_scale = 32 - (full_detail + maxzoom);
|
geometry_scale = 32 - (full_detail + maxzoom);
|
||||||
|
if (geometry_scale < 0) {
|
||||||
|
geometry_scale = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if ((basezoom < 0 || droprate < 0) && (gamma < 0)) {
|
if ((basezoom < 0 || droprate < 0) && (gamma < 0)) {
|
||||||
// Can't use randomized (as opposed to evenly distributed) dot dropping
|
// Can't use randomized (as opposed to evenly distributed) dot dropping
|
||||||
|
|||||||
Reference in New Issue
Block a user