mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 01:45:41 +02:00
Bump up tolerance. Anything higher is visibly off.
This commit is contained in:
@@ -340,7 +340,7 @@ void douglas_peucker(struct draw *geom, int n, double e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int simplify_lines(struct draw *geom, int n, int z, int detail) {
|
int simplify_lines(struct draw *geom, int n, int z, int detail) {
|
||||||
int res = 1 << (32 - detail - z);
|
int res = 1 << (32 - detail - z + 2);
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < n; i++) {
|
for (i = 0; i < n; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user