mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-03 08:55:41 +02:00
By George, I think she's got it!
This commit is contained in:
@@ -614,11 +614,16 @@ void *partial_feature_worker(void *v) {
|
||||
drawvec geom = (*partials)[i].geoms[0];
|
||||
|
||||
if (t == VT_POLYGON) {
|
||||
geom = remove_noop(geom, VT_POLYGON, 0);
|
||||
drawvec cleaned = clean_or_clip_poly(geom, 0, 0, false, false);
|
||||
drawvec fixed = fix_by_triangulation(geom, z, out_detail);
|
||||
drawvec fixed = fix_by_triangulation(cleaned, z, out_detail);
|
||||
geom = clean_or_clip_poly(fixed, 0, 0, false, false);
|
||||
#if 0
|
||||
if (fixed != cleaned) {
|
||||
geom = fixed;
|
||||
}
|
||||
(*partials)[i].t = t = VT_LINE;
|
||||
#endif
|
||||
}
|
||||
|
||||
to_tile_scale(geom, z, out_detail);
|
||||
|
||||
Reference in New Issue
Block a user