Ring nesting isn't right yet, so just keep the outer rings

This commit is contained in:
Erica Fischer
2023-11-11 22:57:47 -08:00
parent 10290b1b1b
commit 5d6a54a235
2 changed files with 60 additions and 23 deletions
+3 -1
View File
@@ -616,11 +616,12 @@ void *partial_feature_worker(void *v) {
if (t == VT_POLYGON) {
geom = clean_polygon(geom, z, out_detail);
(*partials)[i].t = t = VT_LINE;
// (*partials)[i].t = t = VT_LINE;
} else {
to_tile_scale(geom, z, out_detail);
}
#if 0
if (t == VT_POLYGON) {
// Scaling may have made the polygon degenerate.
// Give Clipper a chance to try to fix it.
@@ -642,6 +643,7 @@ void *partial_feature_worker(void *v) {
}
}
}
#endif
if (t == VT_POLYGON && additional[A_GENERATE_POLYGON_LABEL_POINTS]) {
t = (*partials)[i].t = VT_POINT;