mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Revert "The multiplier cap was a bad idea"
This reverts commit 6f8273a4c8.
This commit is contained in:
@@ -1237,8 +1237,9 @@ static serial_feature next_feature(decompressor *geoms, std::atomic<long long> *
|
|||||||
} else if (z + extra_multiplier_zooms >= feature_minzoom && count->second + 1 < retain_points_multiplier) {
|
} else if (z + extra_multiplier_zooms >= feature_minzoom && count->second + 1 < retain_points_multiplier) {
|
||||||
count->second++;
|
count->second++;
|
||||||
sf.dropped = count->second;
|
sf.dropped = count->second;
|
||||||
} else if (preserve_multiplier_density_threshold > 0 &&
|
} else if (preserve_multiplier_density_threshold > 0 && count->second + 1 < 2 * retain_points_multiplier &&
|
||||||
sf.gap > ((1LL << (32 - z)) / preserve_multiplier_density_threshold) * ((1LL << (32 - z)) / preserve_multiplier_density_threshold)) {
|
sf.gap > ((1LL << (32 - z)) / preserve_multiplier_density_threshold) * ((1LL << (32 - z)) / preserve_multiplier_density_threshold)) {
|
||||||
|
count->second++;
|
||||||
sf.dropped = FEATURE_ADDED_FOR_MULTIPLIER_DENSITY;
|
sf.dropped = FEATURE_ADDED_FOR_MULTIPLIER_DENSITY;
|
||||||
} else {
|
} else {
|
||||||
sf.dropped = FEATURE_DROPPED;
|
sf.dropped = FEATURE_DROPPED;
|
||||||
|
|||||||
Reference in New Issue
Block a user