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

Re: [gdal-dev] RPC orthorectification accuracy issues.

2015-06-22 Thread Even Rouault
Le lundi 22 juin 2015 08:29:18, Pablo d'Angelo a écrit : > Hi Even, > > Am 19.06.2015 um 23:53 schrieb Even Rouault: > > Actually keeping the RPC metadata as it is found in the sources (with the > > exception of Pleiades and their weird center of pixel (1,1) convention > > perhaps, as proposed in