mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 09:55:41 +02:00
Still don't let it put more features in a cluster than is allowed
This commit is contained in:
@@ -1674,6 +1674,10 @@ long long write_tile(decompressor *geoms, std::atomic<long long> *geompos_in, ch
|
|||||||
// this is a new multiplier cluster, so stop dropping features
|
// this is a new multiplier cluster, so stop dropping features
|
||||||
// that were dropped because the previous lead feature was dropped
|
// that were dropped because the previous lead feature was dropped
|
||||||
drop_rest = false;
|
drop_rest = false;
|
||||||
|
} else if (sf.dropped != FEATURE_DROPPED) {
|
||||||
|
if (multiplier_cluster_size >= (size_t) retain_points_multiplier) {
|
||||||
|
sf.dropped = FEATURE_DROPPED;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sf.dropped == FEATURE_DROPPED || drop_rest) {
|
if (sf.dropped == FEATURE_DROPPED || drop_rest) {
|
||||||
|
|||||||
Reference in New Issue
Block a user