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, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev