ORA-13347: the coordinates defining an arc are not distinct ORACLE 报错 故障修复 远程处理

文档解释

ORA-13347: the coordinates defining an arc are not distinct

Cause: Two or more of the three points defining an arc are the same.

Action: Alter the definition of the arc to ensure that three distinct coordinate values are used.

ORA-13347是由于圆弧的定义参数不是唯一的造成的一个错误,官方解释如下:

当在Oracle数据库中运行某些GIS函数(如SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT)时,当圆弧(Arc)定义坐标不唯一时,会出现错误ORA-13347。

常见案例

在Oracle数据库操作等地形空间数据时,如果圆弧所使用的构成参数不唯一,则会报出ORA-13347错误。例如:圆弧中两个以上控制点坐标值完全相同,就会引发ORA-13347错误。

正常处理方法及步骤

首先要定位出错的圆弧,即定位出错的控制点,然后修改该控制点的坐标值,使其变成唯一。在Oracle数据库中,要改变圆弧的坐标,首先获取圆弧对应的构成参数(etadata),然后修改参数中指定控制点的坐标值,最后重新给圆弧赋值就可以避免ORA-13347错误了。


数据运维技术 » ORA-13347: the coordinates defining an arc are not distinct ORACLE 报错 故障修复 远程处理