topojson - correct multi_polygons

This commit is contained in:
artemp 2015-03-04 18:39:11 +01:00
parent 58f21f33ea
commit ae1da6ae12

View file

@ -308,6 +308,7 @@ struct feature_generator
polygon.add_hole(std::move(linear_ring));
}
}
boost::geometry::correct(polygon);
multi_polygon.push_back(std::move(polygon));
}
feature->set_geometry(std::move(multi_polygon));