[Gdal-dev] PAM and minimum/maximum values

Frank Warmerdam warmerdam at pobox.com
Mon Jan 22 12:01:50 EST 2007


Frederic Claudel wrote:
> Hi all,
> Is there a good reason why the PAM mode doesn't provide info. about the band
> minimum and maximum values?
> 
> More specifically :
> GDALPamRasterBand actually loads the <Minimum> and <Maximum> values from the
> .aux.xml PAM file in the XMLInit() method, but GDALRasterBand 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).

Frederic,

I believe this is just an omission.  If you would file a bug report on it,
I will have Mateusz fix it as time permits.

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    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list