Oracle Error ORA-54531: invalid orientation for element at element offset

Oracle Error Message

ORA-54531: invalid orientation for element at element offset

Reason for the Error

The orientation of the current geometry was not valid.

Solution

Reverse the orientation of the geometry.