[gdal-dev] OgrInfo ShapeFile Extents Report

Frank Warmerdam warmerdam at pobox.com
Mon Mar 8 20:24:56 EST 2010


David Baker (Geoscience) wrote:
> Frank,
> 
> Thanks...  Is there a method in org that scans all geometries or will I have to iterate through myself?

David,

I think you would have to do this yourself.  You can see the default
implementation at:

http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/generic/ogrlayer.cpp#L189

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