mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
Ah, I was not actually storing the representative point
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user