Re: a_scale per band
Even Rouault via gdal-dev <[email protected]>
| Newsgroups | gmane.comp.gis.gdal.devel |
|---|---|
| Message-ID | <[email protected]> |
Le 23/03/2026 à 17:53, Javier Jimenez Shaw via gdal-dev a écrit : > > 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? Translate to VRT and edit the VRT > > Bonus track: I don't see in the new gdal CLI how to set a_scale and > a_offset. Can you file an enhancement ticket for gdal raster edit to add that ? > > Thanks > Javier. > > > > _______________________________________________ > gdal-dev mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/gdal-dev -- http://www.spatialys.com My software is free, but my time generally not. _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev