mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-01-22 04:18:01 +00:00
Make sure the feature gap always increases when trying to reduce density
This commit is contained in:
parent
6524b6510e
commit
01884a3bf6
2
tile.cpp
2
tile.cpp
@ -2024,7 +2024,7 @@ long long write_tile(FILE *geoms, long long *geompos_in, char *metabase, char *s
|
||||
mingap_fraction = mingap_fraction * max_tile_features / totalsize * 0.90;
|
||||
unsigned long long mg = choose_mingap(indices, mingap_fraction);
|
||||
if (mg <= mingap) {
|
||||
mg = mingap * 1.5;
|
||||
mg = (mingap + 1) * 1.5;
|
||||
}
|
||||
mingap = mg;
|
||||
if (mingap > arg->mingap_out) {
|
||||
|
Loading…
Reference in New Issue
Block a user