[gdal-dev] Loading a scaled rawfile via VRT

Solomon Gibbs solomon.gibbs at gmail.com
Thu Feb 16 13:21:18 EST 2012

I have raw data stored as UInt16 that needs to be scaled by a
(floating point) calibration factor and presented as Float32. I can
successfully load the UInt data using VRTRawRasterBand and scale it
using VRT ComplexSource. However, this seems to mean creating two
separate VRT datasets and files.

Is there any way to combine loading raw data and scaling to a floating
point value into a single dataset definition?

More information about the gdal-dev mailing list