[Gdal-dev] PAM and minimum/maximum values

Frederic Claudel frederic.claudel at magellium.fr
Tue Jan 23 03:44:31 EST 2007


Thanks Frank and Mateusz. 
I commited a bug entry for the min/max (#1454). The code is available if
needed (but I'm sure you dont' need it)
regards,
Frederic

-----Message d'origine-----
De : Frank Warmerdam [mailto:warmerdam at pobox.com] 
Envoyé : lundi 22 janvier 2007 18:02
À : Frederic Claudel
Cc : gdal-dev at lists.maptools.org
Objet : Re: [Gdal-dev] PAM and minimum/maximum values

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