I have a multi-band raster and I am using

gdal_translate -b 1 -scale 30 30 landscape.lcp band_1.tif

to get a single band in tif format. Now if I check values of band 1 in landscape.lcp, those lie between 0 -270. But if I check values in band1.tif, the values lie between -32768- 32767. Any pointer how to keep the original values in the band_1.tif file.

  • What is your aim with using -scale 30 30?
    – user30184
    Mar 23, 2017 at 8:58

1 Answer 1


It seems like you don't want to rescale the input pixel values (-scale) but set the target resolution (-tr), so try with:

gdal_translate -b 1 -tr 30 30 landscape.lcp band_1.tif

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.