Re: [gdal-dev] Set/Get Scale and Offset in GDALRasterBand

2015-06-23 Thread Alexander Bobkov
Even, Ray, thanks for the answers 22.06.2015 23:28, Ray Gardener пишет: The functions are to allow mapping between logical and physical pixel values. This is very common in e.g. elevation DEMs. Applying them is done by the calling code. At least, I haven't seen any routines in GDAL that woul

Re: [gdal-dev] Set/Get Scale and Offset in GDALRasterBand

2015-06-22 Thread Ray Gardener
The functions are to allow mapping between logical and physical pixel values. This is very common in e.g. elevation DEMs. Applying them is done by the calling code. At least, I haven't seen any routines in GDAL that would apply them for you. Ray On 6/22/2015 7:50 AM, Alexander Bobkov wrote:

Re: [gdal-dev] Set/Get Scale and Offset in GDALRasterBand

2015-06-22 Thread Even Rouault
Le lundi 22 juin 2015 16:50:33, Alexander Bobkov a écrit : > Hi, > > What is the intended usage of methods > SetScale/GetScale/SetOffset/GetOffset of the GDALRasterBand class? > > Documentation says that > > > This value (in combination with the GetOffset() > >

[gdal-dev] Set/Get Scale and Offset in GDALRasterBand

2015-06-22 Thread Alexander Bobkov
Hi, What is the intended usage of methods SetScale/GetScale/SetOffset/GetOffset of the GDALRasterBand class? Documentation says that This value (in combination with the GetOffset() value) is used to transform