Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Modifying sdo_gtype

3895Dec 12 2001
I want to change the sdo_gtype value in a layer from 2 to 2002.

I issue the following command:

update traffic a set a.geometry.sdo_gtype = 2002;

I get the following error:

ERROR at line 1:
ORA-29877: failed in the execution of the ODCIINDEXUPDATE routine
ORA-13051: failed to initialize spatial object
ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 8
ORA-06512: at "MDSYS.SDO_IDX", line 86
ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 83
ORA-06512: at line 1

I drop the spatial index:

drop index traffic_spx;

I then update the sdo_gtype.

But I cannot recreate the spatial index:

create index traffic_idx on lrsxtest.traffic (geometry)
indextype is mdsys.spatial_index
*
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE
routine

Does anyone know why this is happening?

I am running 8.1.7.2.1 on NT.

Thanks

Dave
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 9 2002
Added on Dec 12 2001
1 comment
372 views