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!

Basic question - Problems with basic query - Mask = INSIDE

708377Jun 23 2009 — edited Jun 25 2009
Greetings,
I'm doing a basic query on Oracle 10g Spatial, is to determine the intersection between two layers (one point called "Calidad1") and other polygons, called "Parishes")

For issuing the following query based on the documentation of oracle:

"select C1.ID, C1.SECUENCIA,
P. COD_ENTIDAD, P. STATE
Cod_county P., P. TOWNSHIP,
P. COD_PARROQUIA, P. PARISH
from CALIDAD1 c1,
PARISHES p
where sdo_relate (c1.geoloc, p.geoloc, 'mask = INSIDE querytype = WINDOW') = 'TRUE'
order by C1.ID;

When I run the query, no errors but extends too long (more than 10 minutes) and no end, I have to cancel.

Canceling shows me the following error:

"ORA-13268: error obtaining dimension from USER_SDO_GEOM_METADATA
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 8
ORA-06512: at "MDSYS.SDO_3GL", line 89 "


This query is very basic and the data volume is small, a conclusion: I must be skipping a step or activity.

Can you guide a little to resolve this situation and get the query that I need?

Thanks to all
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 23 2009
Added on Jun 23 2009
7 comments
1,382 views