Oracle Error Message
ORA-13338: failure in reversing LRS polygon/collection geometry
Reason for the Error
Reversing an LRS polygon/collection geometry produces an invalid geometry.
Solution
Check the geometry type to make sure this operation is called on non-polygon geometries.