mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Don't try to revive a placeholder for a degenerate polygon with negative area
This commit is contained in:
@@ -498,7 +498,11 @@ void *partial_feature_worker(void *v) {
|
||||
}
|
||||
|
||||
if (geoms[g].size() < 3) {
|
||||
geoms[g] = revive_polygon(before, area / geoms.size(), z, line_detail);
|
||||
if (area > 0) {
|
||||
geoms[g] = revive_polygon(before, area / geoms.size(), z, line_detail);
|
||||
} else {
|
||||
geoms[g].clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user