Oracle Error Message
ORA-54522: inner rings of same outer ring cannot intersect or share boundary
Reason for the Error
Two inner rings of the same outer ring intersected or shared a boundary.
Solution
Ensure that line segments of an inner ring do not intersect or fully or partially coincide with line segments of another inner ring sharing the same outer ring.