Oracle Error ORA-54506: compound curve not supported for 3-D geometries

Oracle Error Message

ORA-54506: compound curve not supported for 3-D geometries

Reason for the Error

The 3-D geometry contained one or more compound curves, which are not supported for 3-D geometries.

Solution

Remove all compound curves from the geometry.