Validation for self-intersection WKT Multipolygon fails at the WKTReader, while works when wrapped in a GEOMETRYCOLLECTION
#232
Labels
GEOMETRYCOLLECTION
#232
Used version
0.8
.We encountered that parsing a WKT MultiPolygon containing a self-intersection works while it will raise a validation error when it is wrapped into a
GEOMETRYCOLLECTION
.This code parses the WKT string into a valid
MultiPolygon
instance.While this one raises a
InvalidShapeException
:Stacktrace:
I would expect that both variants behave the same.
The text was updated successfully, but these errors were encountered: