[FWTools] geotiff statistics

Frank Warmerdam warmerdam at pobox.com
Tue Sep 16 12:08:02 EDT 2008


On Tue, Sep 16, 2008 at 8:27 AM, Travis Kirstine
<traviskirstine at gmail.com> wrote:
> Is there a way to include/generate statistics for a floating point dem
> dataset in geotiff format (.aux file?).  I want to get around setting
> the min and max values for the tifs when using  ArcGIS.  I know that
> you can use the -co STATISTICS=YES when generating Erdas .img files,
> is there something similar for geotiffs?

Travis,

If I run "gdalinfo -stats" against a tiff file it creates a .aux.xml file
with the statistics stored for future use.  Is that sufficient?  I'm not
sure how this gets used in ArcGIS if that is your goal.

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 FWTools mailing list