[gdal-dev] OgrInfo ShapeFile Extents Report

Frank Warmerdam warmerdam at pobox.com
Mon Mar 8 19:50:37 EST 2010

David Baker (Geoscience) wrote:
> List,
> Does OgrInfo report the actual extents of the geometries in a ShapeFile 
> or just the extents reported in the header of the ShapeFile?


GetExtent() is optimized by the shapefile driver to report the extents
from the file header rather than scanning the data as most drivers do.

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