mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 18:05:42 +02:00
Experiment with turning polygon chopping back on
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ extern char *optarg;
|
|||||||
extern int optind;
|
extern int optind;
|
||||||
|
|
||||||
int detail = 12; // tippecanoe-style: mvt extent == 1 << detail
|
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;
|
std::set<std::string> keep;
|
||||||
|
|
||||||
|
|||||||
@@ -640,6 +640,10 @@ void *partial_feature_worker(void *v) {
|
|||||||
std::vector<drawvec> geoms; // artifact of former polygon-splitting to reduce geometric complexity
|
std::vector<drawvec> geoms; // artifact of former polygon-splitting to reduce geometric complexity
|
||||||
geoms.push_back(geom);
|
geoms.push_back(geom);
|
||||||
(*partials)[i].geoms = geoms;
|
(*partials)[i].geoms = geoms;
|
||||||
|
|
||||||
|
if (t == VT_POLYGON && !prevent[P_POLYGON_SPLIT]) {
|
||||||
|
geoms = chop_polygon(geoms);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user