When I used the debugger to step into the OGRLayer GetExtent method I
noticed that it walks through all of the features in the dataset and
tests the envelope of each feature in the set.

 

Are there any driver specific optimizations (i.e. OCI)  that could be
called instead of this one since it does take a long time for a large
dataset?

 

I realize we can create our own but I would like to use a built in
function if it is available.

 

Frank: Since you are working in the OCI driver would this be a good time
to add something like:

            select min(a1.SHAPE.SDO_POINT.X),

 max(a1.SHAPE.SDO_POINT.X),

 min(a1.SHAPE.SDO_POINT.Y),

 max(a1.SHAPE.SDO_POINT.Y) from DatasetName a1;

 

Of course that falls back on the first question, is there already a
built in method.

 

Bruce

 




This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this 
 
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to