[Qgis-user] 16 bit greyscale map gives stepping artifacts

Andrea Giudiceandrea andreaerdna at libero.it
Fri Mar 13 12:31:01 PDT 2026


Hi Wout,
AFAIK, you need to use the -scale parameter either without specifying 
any <src_min> <src_max> <dst_min> <dst_max> value (in such case they are 
calculated automatically) or providing them.

See:
- 
https://gdal.org/en/stable/programs/gdal_translate.html#cmdoption-gdal_translate-scale
- 
https://gis.stackexchange.com/questions/441431/float32-to-uint16-terracing-problem
- 
https://gis.stackexchange.com/questions/421660/terracing-stepping-artefacts-after-converting-lidar-dtm-from-float32-to-uint16/429205#429205
- 
https://aerial2orthorect.wordpress.com/2015/03/24/convert-float-32-bit-to-16-bit-using-gdal-commander/

Regards.

Andrea


More information about the QGIS-User mailing list