S
S
ssbxlan2012-04-24 10:00:47
Oracle
ssbxlan, 2012-04-24 10:00:47

Oracle Spatial, query via database link

I'm trying to run a query like this:

select * from [email protected]_link c where sdo_relate(
      c.geometry,
      sdo_geometry(
         blabla
      ),
      'mask=anyinteract'
   ) = 'TRUE';


The database complains about the lack of a spatial index in the tbl table. If you make the same request by connecting directly, without a database link, then everything works.

Google gives out one topic on the forum, where in 2004 they wrote that this would not work. Tell me, what has changed by our time? Or if this is not possible, then how can I perform a similar query to another database?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin, 2012-04-24
@Norraxx

Brainstorm: Make a function? Make VIEW? Everything is at the database level…
PS: Maybe the “spatial index” is really missing?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question