Skip to content

Commit

Permalink
Does it do better cleaning *before* scaling?
Browse files Browse the repository at this point in the history
  • Loading branch information
e-n-f committed Oct 21, 2023
1 parent d14ad21 commit 59bc5e3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,11 @@ void *partial_feature_worker(void *v) {
int out_detail = (*partials)[i].extra_detail;

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];
to_tile_scale(geom, z, out_detail);

Expand Down

0 comments on commit 59bc5e3

Please sign in to comment.