You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using LibGEOS, GeoInterface
# 3 overlapping circles in a triangle
circles = [
buffer(Point(0.0, 0.0), 1.0),
buffer(Point(1.0, 0.0), 1.0),
buffer(Point(0.5, 1.0), 1.0),
]
# now if from these 3 polygons we want to create a single MultiPolygon# you might expect this to work:MultiPolygon(circles)
# but you get -> ERROR: LoadError: MethodError: no method matching MultiPolygon(::Vector{Polygon})# going through the GeoInterface constructor works, but will be less efficientMultiPolygon(GeoInterface.coordinates(circles))
LibGEOS.jl/src/geos_types.jl
Lines 81 to 95 in e1f2b25
This probably goes for all multi geometries, not just multipolygon.
The text was updated successfully, but these errors were encountered: