Fix count accumulation in overzoom

This commit is contained in:
Erica Fischer
2024-09-24 15:57:45 -07:00
parent c5f2f0da34
commit b6ba448ab0
2 changed files with 37 additions and 8 deletions
+2
View File
@@ -159,9 +159,11 @@ void preserve_attribute(attribute_op const &op, std::string const &key, serial_v
s.count = 2;
attribute_accum_state.insert(std::pair<std::string, accum_state>(key, s));
full_values[i].type = mvt_double;
full_values[i].s = std::to_string(s.count);
} else { // already present, incrementing
state->second.count += 1;
full_values[i].type = mvt_double;
full_values[i].s = std::to_string(state->second.count);
}
return;