Experiment with coalescing features to reduce tile size

This commit is contained in:
Eric Fischer
2017-10-06 18:01:08 -07:00
parent 4c2d80ea17
commit be922702ce
4 changed files with 23 additions and 4 deletions
+1 -1
View File
@@ -447,7 +447,7 @@ int serialize_feature(struct serialization_state *sst, serial_feature &sf) {
}
double extent = 0;
if (additional[A_DROP_SMALLEST_AS_NEEDED]) {
if (additional[A_DROP_SMALLEST_AS_NEEDED] || additional[A_COALESCE_SMALLEST_AS_NEEDED]) {
if (sf.t == VT_POLYGON) {
for (size_t i = 0; i < sf.geometry.size(); i++) {
if (sf.geometry[i].op == VT_MOVETO) {