I have a Vector{IGeometry{wkbMultiPolygon}}
which I need to simplify for plotting.
However, doing ArchGDAL.simplify.(geoms, 0.001)
results in some wkbMultiPolygon
s becoming wkbPolygon
s and Makie is not happy about the heterogeneous eltype of the container. Can I somehow cast the simple Polygons to MultiPolygons? Or is there a generally better way to do this?
I believe you can use ArchGDAL.forceto to convert to multi polygon.
1 Like
Perfect, that did the trick!