a_scale per band

Javier Jimenez Shaw via gdal-dev <[email protected]>
Newsgroups gmane.comp.gis.gdal.devel
Message-ID <CADRrdKtm3=D=xuDEObtvegPbWp5xc6Hc9rRVJixy7+G3hsdj1A@mail.gmail.com>
Hi

related to https://lists.osgeo.org/pipermail/proj/2026-March/012063.html
I was trying to change the type to int16 and scale (and offset) it to make
it smaller, similar to the NSRS geoid model that Even suggested me to do in
https://github.com/jjimenezshaw/NSRS-2022-PROJ/blob/master/make_geoid2022.sh

But in de_lgl_bw_BWTA2017.tif there are 4 bands, and I need different a
scale and offset for each.
I don't see how to use a_scale and a_offset per band (documentation
mentions "-a_scale Set band scaling value ..."). How can I do it?

Bonus track: I don't see in the new gdal CLI how to set a_scale and
a_offset.

Thanks
Javier.

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.