[gdal-dev] GetExtent method
Clay, Bruce
bclay at ball.com
Tue Sep 2 11:32:25 EDT 2008
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080902/3196d255/attachment-0001.html
More information about the gdal-dev
mailing list