Oracle Error ORA-13342: an arc geometry has fewer than three coordinates

Oracle Error Message

ORA-13342: an arc geometry has fewer than three coordinates

Reason for the Error

A geometry, specified as being an arc, has fewer than three coordinates in its definition.

Solution

An arc must consist of at least three distinct coordinates. Correct the geometric definition, or set the appropriate SDO_GTYPE or SDO_ETYPE attribute for this geometry.