Experiment with turning polygon chopping back on

This commit is contained in:
Erica Fischer
2023-08-25 11:19:16 -07:00
parent 39ad95ed73
commit ef818cc646
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ extern char *optarg;
extern int optind;
int detail = 12; // tippecanoe-style: mvt extent == 1 << detail
int buffer = 5; // tippecanoe-style: mvt buffer == extent * buffer / 256;
int buffer = 5; // tippecanoe-style: mvt buffer == extent * buffer / 256;
std::set<std::string> keep;
+4
View File
@@ -640,6 +640,10 @@ void *partial_feature_worker(void *v) {
std::vector<drawvec> geoms; // artifact of former polygon-splitting to reduce geometric complexity
geoms.push_back(geom);
(*partials)[i].geoms = geoms;
if (t == VT_POLYGON && !prevent[P_POLYGON_SPLIT]) {
geoms = chop_polygon(geoms);
}
}
return NULL;