Oracle Solution for Error ora-13368

Solution for Oracle Error ORA-13368

ORA-13368: simple polygon type has more than one exterior ring

What triggered the Error:

In a polygon geometry there is more than one exterior ring.

What should we do to fix it:

Set the type to be multipolygon if more than one exterior ring is present in the geometry.