[gdal-dev] est failure on gdal 1.7 (layer.getExtent). Isolated in C and Python

Frank Warmerdam warmerdam at pobox.com
Wed Oct 13 16:04:34 EDT 2010


Simon Thépot wrote:
> getExtent won't work and result in a (GRException: OGR failure).

Simon,

It is a bug in OGRVRTLayer::GetExtent().  It is mistakenly directly calling
GetExtent() on the CSV file layer when it really needs to translate the
features (pulling out the right fields for geometry) and compute the extents
on that.  The problem persists in trunk.

Could you file a ticket on this?

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list