mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-06 18:35:41 +02:00
Make sure not to shift away the extra detail from coordinates
This commit is contained in:
@@ -3266,6 +3266,9 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
}
|
||||
|
||||
if (additional[A_EXTRA_DETAIL]) {
|
||||
geometry_scale = 0;
|
||||
} else {
|
||||
geometry_scale = 32 - (full_detail + maxzoom);
|
||||
if (geometry_scale < 0) {
|
||||
geometry_scale = 0;
|
||||
@@ -3274,6 +3277,7 @@ int main(int argc, char **argv) {
|
||||
fprintf(stderr, "Full detail + maxzoom > 32, so you are asking for more detail than is available.\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ((basezoom < 0 || droprate < 0) && (gamma < 0)) {
|
||||
// Can't use randomized (as opposed to evenly distributed) dot dropping
|
||||
|
||||
Reference in New Issue
Block a user