Ora-29532 Sdo_topo.Createfeature Failed With Oracle.Spatial.Topo.Invalidtopooperationexception (Doc ID 1315799.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Spatial - Version: 10.2.0.4 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms


Adding a valid geometry to a valid topology with SDO_TOPO_MAP.CREATE_FEATURE
fails with the following errors:

DECLARE
CURSOR c1 IS SELECT oid, geom
FROM tg_260;
topo_geom SDO_TOPO_GEOMETRY;

BEGIN

FOR r IN c1 LOOP
topo_geom := SDO_TOPO_MAP.CREATE_FEATURE('TEST_TOPOLOGY',
'TG_260_TOPO',
'FEATURE',
r.geom);

-- Associate topological primitives with features
INSERT INTO TG_260_TOPO (oid, feature)
VALUES ( r.oid, topo_geom);
END LOOP;
END;
/

/*
Output:

*
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
oracle.spatial.topo.InvalidTopoOperationException: Attempted to add a node
at
an edge terminus or outside the range of the vertex array
ORA-06512: at "MDSYS.SDO_TOPO_MAP", line 423
ORA-06512: at line 9

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms