Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/geos_types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,9 @@ function geomFromGEOS(
return MultiLineString(ptr, context)
elseif id == GEOS_MULTIPOLYGON
return MultiPolygon(ptr, context)
else
@assert id == GEOS_GEOMETRYCOLLECTION
elseif id == GEOS_GEOMETRYCOLLECTION
return GeometryCollection(ptr, context)
else
throw(ErrorException("Geometric type with code $id not implemented."))
end
end
Loading