Oracle Error Message
ORA-54518: shared edge of composite surface not oriented correctly
Reason for the Error
A shared edge (one shared by two polygons) in a composite surface was not correctly oriented. Each shared edge must be oriented in one direction with respect to its first polygon and then in the reverse direction with respect to its second polygon.
Solution
Reverse one of the directions of the shared edge with respect to its polygons.