文档解释
ORA-13345: a compound polygon geometry has fewer than five coordinates
Cause: A geometry, specified as being a compound polygon, has fewer than five coordinates in its definition.
Action: A compound polygon must contain at least five coordinates. A compound polygon consists of at least one arc and one line, each of which must be described using three and at least two distinct coordinates respectively. Correct the geometric definition, or set the appropriate SDO_GTYPE or SDO_ETYPE attribute for this geometry.
ORA-13345是由于在创建一个复杂多边形几何体时使用了少于五个坐标而导致的一个异常错误。
官方解释
ORA-13345 error occurs when attempting to create a Compound Polygon geometry with fewer than five coordinates. In order to be a valid value for constructing a Compound Polygon, the number of coordinates must be equal to or greater than five and an additional requirement is that the last coordinate pair provided must be the same as the first one provided.
常见案例
这个错误通常会发生在开发人员试图用少于五个坐标建立复杂多边形几何体时,由于信息不完整而导致的错误。
正常处理方法及步骤
1.检查输入的坐标数量是否达到最低限制标准。
2.确保最后一个坐标的值与最初输入的坐标的值相同。
3.重新尝试创建复杂多边形几何体。