diff --git a/plugins/input/topojson/topojson_featureset.cpp b/plugins/input/topojson/topojson_featureset.cpp index 816907f44..c60764b52 100644 --- a/plugins/input/topojson/topojson_featureset.cpp +++ b/plugins/input/topojson/topojson_featureset.cpp @@ -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));