We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ded048 commit 77f0b8bCopy full SHA for 77f0b8b
src/geos_types.jl
@@ -638,8 +638,9 @@ function geomFromGEOS(
638
return MultiLineString(ptr, context)
639
elseif id == GEOS_MULTIPOLYGON
640
return MultiPolygon(ptr, context)
641
- else
642
- @assert id == GEOS_GEOMETRYCOLLECTION
+ elseif id == GEOS_GEOMETRYCOLLECTION
643
return GeometryCollection(ptr, context)
+ else
644
+ throw(ErrorException("Geometric type with code $id not implemented."))
645
end
646
0 commit comments