Opened 17 years ago
Closed 14 years ago
#1454 closed defect (fixed)
GDALPamRasterBand can't provide min/max
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | minor | Keywords: | |
Cc: |
Description
Vitual methods GetMinimum() and GetMaximum() have not been re-implemented in GDALPamRasterBand, so there's no way to access the member data (dfMin and dfMAx, in GDALRasterBandPamInfo). Yet, when creating a GDAL PamRasterBand, the XMLInit method loads the <Minimum> and <Maximum> values from the .aux.xml PAM file. SerializeToXML() also writes the values back to the PAM aux file. A suggestion : maybe flag bHaveMinMax in GDALRasterBandpamInfo can be splitted into bHaveMin and bHaveMax to handle min and max values independently
Note:
See TracTickets
for help on using tickets.
That works presumably since r10980