Jody Garnett wrote:
On a gray, mild, rainy day, udig is busy and I stare at the screen... The
point is, I realise the necessity of a bbox, but *not* when listing tables.
And that's the wizard state I'm at.

oh - so it is doing something; any chance of looking at some oracle logs?

yep, this was a select SDO_AGGR_MBR( geom ) from mytabl, coming from a getBounds in...


BTW, I've got some code in OracleGeoResource commented out, where such brute
force bbox calculation is performed. So, that's not the issue.

Okay; I do have a "light" replacement for that OracleGeoResource code

OracleGeoResource bingo!

- that guesses a good set of bounds based on the CRS....
Jody

The thing causing the trouble is the
bounds = (ReferencedEnvelope) source.getBounds();

which does the select SDO_AGGR_MBR (found in gt's OracleDialect). The while loop iterating over the features (in OracelGeoResource) had already been commented out by myself because, well, it simply wouldn't work with millions of records.

Note, this GeoResource class simply is not going to work with large tables. (In our application, the user gets a subset of large tables. Anyway, a naive user, pointing udig against an oracle with large tables will freeze his udig appl and overload the DB.)

Well, there's at least something else causing more trouble. As I still see no tables. Back to the logs.

Cheers,

Ugo
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to