Ah, I was not actually storing the representative point

This commit is contained in:
Erica Fischer
2025-02-10 13:07:09 -08:00
parent ebcc8bf799
commit 0ce1271b06
2 changed files with 9 additions and 2 deletions
+4
View File
@@ -775,8 +775,12 @@ int serialize_feature(struct serialization_state *sst, serial_feature &sf, std::
preserve_multiplier_density_threshold > 0 ||
cluster_distance != 0) {
sf.index = bbox_index;
sf.wx = midx;
sf.wy = midy;
} else {
sf.index = 0;
sf.wx = 0;
sf.wy = 0;
}
if (sst->layermap->count(layername) == 0) {