Re: [gdal-dev] How to consider data types when implementing IWriteBlock

2016-04-19 Thread Even Rouault
Le mardi 19 avril 2016 11:22:50, jramm a écrit : > Even Rouault-2 wrote > > > Skimming through the code, it seems you must provide zmin / zmax to do > > the scaling of floating point elevations to integral values. So either > > it is user > > provided, or you do a prior statistics computation in C

Re: [gdal-dev] How to consider data types when implementing IWriteBlock

2016-04-19 Thread jramm
Even Rouault-2 wrote > Skimming through the code, it seems you must provide zmin / zmax to do the > scaling of floating point elevations to integral values. So either it is > user > provided, or you do a prior statistics computation in CreateCopy() if the > input dataset hasn't min/max metadata.