interface not supported without a spatial index [message #124096] |
Thu, 16 June 2005 07:22 |
linani
Messages: 4 Registered: June 2005
|
Junior Member |
|
|
hi,
I try to execute a spatial query, but i have these errors:
ERROR at line 1:
ORA-13226: interface not supported without a spatial index
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 8
ORA-06512: at "MDSYS.SDO_3GL", line 58
All index are are created.
Did anyone know how to do to resolve this problem?
thank you for your help.
|
|
|
Re: interface not supported without a spatial index [message #124100 is a reply to message #124096] |
Thu, 16 June 2005 07:39 |
Frank Naude
Messages: 4587 Registered: April 1998
|
Senior Member |
|
|
Hi,
Create a spatial index on your geometry table -
13226, 00000, "interface not supported without a spatial index"
// *Cause: The geometry table does not have a spatial index.
// *Action: Verify that the geometry table referenced in the spatial operator
// has a spatial index on it.
Example:
CREATE INDEX index_name ON table_name (geom_column_name)
INDEXTYPE IS MDSYS.SPATIAL_INDEX;
Best regards.
Frank
|
|
|
|
|
|
|
Re: interface not supported without a spatial index [message #124122 is a reply to message #124096] |
Thu, 16 June 2005 08:54 |
linani
Messages: 4 Registered: June 2005
|
Junior Member |
|
|
this is my query:
select * from TABLE1 SELF
where not (exists (
((select PK2 from TABLE2)) intersect
select PK2 from TABLE2 T2
where MDSYS.SDO_RELATE(((select GEOMETRIE from TABLE3 where R_PK1 in
(select PK1 from TABLE1 where PK1 = 2)))
, T2.GEOMETRIE
, 'mask=CONTAINS+COVERS querytype=WINDOW')= 'TRUE'
));
geometrics tables are: table2 and table3
|
|
|
|