Oracle Error ORA-54528: inner composite surfaces or surfaces with inner ring(s) expected

Oracle Error Message

ORA-54528: inner composite surfaces or surfaces with inner ring(s) expected

Reason for the Error

An INNER_OUTER parameter to element extractor was attempted on a surface that was not simple or composite.

Solution

Ensure that the etype of the geometry for the INNER_OUTER parameter to element extractor is ETYPE_SURFACE or ETYPE_COMPOSITESURFACE.