Index Creation Fails with ORA-13365: Layer SRID does not match geometry SRID (Doc ID 559024.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Spatial and Graph - Version 9.2.0.1 to 10.2.0.3 [Release 9.2 to 10.2]
Information in this document applies to any platform.
Checked for relevance on 24-Dec-2013


Symptoms

Spatial index creation is failing with following error -

SQL> CREATE INDEX PARCEL_SIDX ON PARCEL(GEOMETRY) 
INDEXTYPE IS MDSYS.SPATIAL_INDEX;
CREATE INDEX PARCEL_SIDX ON PARCEL(GEOMETRY)

### If you are receiving errors, please list the exact error messages and message text.###
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13249: internal error in Spatial index: [mdidxrbd]
ORA-13249: Error in Spatial index: index build failed
ORA-13249: Error in spatial index: [mdrcrtxfergm]
ORA-13249: Error in spatial index: [mdpridxtxfergm]
ORA-13200: internal error [ROWID:AAAcFdAAJAACdRyAAA] in spatial indexing.
ORA-13206: internal error [] while creating the spatial index
ORA-13365: Layer SRID does not match geometry SRID
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 7
ORA-06512: at line 1

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