From 642976c08cce62a2223b4bc19df8317aae859de7 Mon Sep 17 00:00:00 2001 From: Erica Fischer Date: Tue, 5 Nov 2024 09:33:08 -0800 Subject: [PATCH] Revert "Don't keep features with identical locations as multiplier features" This reverts commit 413f0c8024557c8b034848a9d97cd02f4a259ced. --- tile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tile.cpp b/tile.cpp index f0095a7b..4387537b 100644 --- a/tile.cpp +++ b/tile.cpp @@ -1240,7 +1240,7 @@ static serial_feature next_feature(decompressor *geoms, std::atomic * if (z >= feature_minzoom || sf.dropped == FEATURE_KEPT) { count->second = 0; 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++; sf.dropped = count->second; } else if (preserve_multiplier_density_threshold > 0 &&