mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-04 09:25:41 +02:00
Revert "Don't keep features with identical locations as multiplier features"
This reverts commit 413f0c8024.
This commit is contained in:
@@ -1240,7 +1240,7 @@ static serial_feature next_feature(decompressor *geoms, std::atomic<long long> *
|
|||||||
if (z >= feature_minzoom || sf.dropped == FEATURE_KEPT) {
|
if (z >= feature_minzoom || sf.dropped == FEATURE_KEPT) {
|
||||||
count->second = 0;
|
count->second = 0;
|
||||||
sf.dropped = FEATURE_KEPT; // feature is kept
|
sf.dropped = FEATURE_KEPT; // feature is kept
|
||||||
} else if (z + extra_multiplier_zooms >= feature_minzoom && count->second + 1 < retain_points_multiplier && sf.index != next_feature_state.prev_not_dropped_index) {
|
} 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 &&
|
||||||
|
|||||||
Reference in New Issue
Block a user