Frank,

Thanks...  Is there a method in org that scans all geometries or will I have to 
iterate through myself?

David

David M. Baker
Senior Geologist - Chief Technology Advisor
Chesapeake Energy Corporation
405-935-3715 office
405-496-5373 cell
[email protected]


-----Original Message-----
From: Frank Warmerdam [mailto:[email protected]]
Sent: Monday, March 08, 2010 6:51 PM
To: David Baker (Geoscience)
Cc: '[email protected]'
Subject: Re: [gdal-dev] OgrInfo ShapeFile Extents Report

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?

David,

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, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent


This email (and attachments if any) is intended only for the use of the 
individual or entity to which it is addressed, and may contain information that 
is privileged, confidential and exempt from disclosure under applicable law.  
If the reader of this email is not the intended recipient, or the employee or 
agent responsible for delivering this message to the intended recipient, you 
are hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited.  If you have received this communication 
in error, please notify the sender immediately by return email and destroy all 
copies of the email (and attachments if any).
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to