Split complex polygons into multiple features

This commit is contained in:
Eric Fischer
2016-02-11 12:14:32 -08:00
parent ca4faec9f6
commit ea304d3a98
8 changed files with 267 additions and 9 deletions
+2 -4
View File
@@ -529,11 +529,9 @@ void *partial_feature_worker(void *v) {
std::vector<drawvec> geoms;
geoms.push_back(geom);
#if 0
if (t == VT_POLYGON) {
geoms = chop_geometry(geoms); // XXX
if (t == VT_POLYGON && !prevent[P_POLYGON_SPLIT]) {
geoms = chop_polygon(geoms);
}
#endif
if (t == VT_POLYGON) {
// Scaling may have made the polygon degenerate.