Is there a way that a hint could be added to the sql layer so that we can control what spatial indexes are being used in the query? Right now I have creating spatial indexes for the table containing the SQL points but I can't get the MSSQL2008 layer to sucessfully use those indexes.
I have tried getting the query that Thnkgeo produces to get the points and playing with the indexes themselves, but I can't get the indexes to be used without adding a hint. If I add the hint to the query the performance is 4-8 times faster than without it.
Thanks,
Jeff Cleath