topojson - correct multi_polygons
This commit is contained in:
parent
58f21f33ea
commit
ae1da6ae12
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue