Does it do better cleaning *before* scaling?

This commit is contained in:
Erica Fischer
2023-10-21 12:00:31 -07:00
parent d14ad21ffb
commit 59bc5e358f
+5
View File
@@ -614,6 +614,11 @@ void *partial_feature_worker(void *v) {
int out_detail = (*partials)[i].extra_detail; int out_detail = (*partials)[i].extra_detail;
drawvec geom = (*partials)[i].geoms[0]; drawvec geom = (*partials)[i].geoms[0];
if (t == VT_POLYGON) {
geom = clean_or_clip_poly(geom, 0, 0, false, false);
}
drawvec before_scaling = (*partials)[i].geoms[0]; drawvec before_scaling = (*partials)[i].geoms[0];
to_tile_scale(geom, z, out_detail); to_tile_scale(geom, z, out_detail);