mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Add missing case for accumulating the mean of attributes that are inconsistently present (#329)
* Add missing case for accumulating the mean of attributes that are inconsistently present * Add more specific test
This commit is contained in:
@@ -1949,7 +1949,7 @@ long long write_tile(decompressor *geoms, std::atomic<long long> *geompos_in, ch
|
||||
features[which_serial_feature]->clustered++;
|
||||
|
||||
if (!additional[A_KEEP_POINT_CLUSTER_POSITION] &&
|
||||
features[which_serial_feature]->t == VT_POINT &&
|
||||
features[which_serial_feature]->t == VT_POINT &&
|
||||
features[which_serial_feature]->geometry.size() == 1 &&
|
||||
sf.geometry.size() == 1) {
|
||||
double x = (double) features[which_serial_feature]->geometry[0].x * features[which_serial_feature]->clustered;
|
||||
|
||||
Reference in New Issue
Block a user