Opened 6 years ago

Closed 5 years ago

#885 closed defect (fixed)

OGR Provider: allow for estimated OGR extent in GetExtent

Reported by: gabrimonfa Owned by: gregboone
Priority: major Milestone: 3.8.0
Component: FDO API Version: 3.8.0
Severity: 3 Keywords:
Cc: External ID:

Description

In file OgrProvider?.cpp, function GetExtent?() the call to the ogr function GetExtent? is done passing bForce=TRUE.

In a recent ogr commit (that will appear in gdal 1.11) when bForce is FALSE, a fast path is used to return an estimated extent instead of the expensive true one.

IMHO this should be the default path thus I proposed to flip the bForce parameter from TRUE to FALSE to allow the use of the estimated extent

Attachments (1)

OGR_GetExtent_EstimatedExtent.patch (523 bytes) - added by gabrimonfa 6 years ago.
Patch to change bForce from TRUE to FALSE in calling OGR GetExtent?

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by gabrimonfa

Patch to change bForce from TRUE to FALSE in calling OGR GetExtent?

comment:1 Changed 5 years ago by jng

Resolution: fixed
Status: newclosed

Fixed with FDO RFC 69 implementation (r7156)

Note: See TracTickets for help on using tickets.