Opened 16 years ago
Closed 15 years ago
#2156 closed enhancement (fixed)
SetStatistics does not work for TIFF files
Reported by: | rsoconnor | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
SetStatistics does not work for TIFF files.
Normally I open up a dataset and call ComputeStatistics() and the statistics get saved in the PAM file. This does not work for TIFF files though.
Attachments (1)
Change History (3)
comment:1 by , 16 years ago
by , 16 years ago
Attachment: | gdal_svn_trunk_gtiff_statistics.patch added |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I'm attaching a patch that enables to use PAM with GeoTIFF. A few tests show that it doesn't seem to break things. However, I'm a bit shy about commiting it. I think it should also take into account the PROFILE of the TIFF file, in addition to the access status (see #1173).