<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I'm trying unsuccessfully to save Int16 dataset with scale != 1.0 in GPKG.</div><div><br></div><div>If I understand correctly the remark about "Tiled gridded coverage data" here:</div><div><a href="https://www.gdal.org/drv_geopackage_raster.html">https://www.gdal.org/drv_geopackage_raster.html</a><br></div><div>I expect offset and scale for Int16 to be supported in gdal.</div><div><br></div><div>I tried to gdal_translate an int16 dataset from GTiff to GPKG and the scale value is lost (at lease as far as QGIS is concerned).</div><div>I also translated the output gpkg back to GTiff and verified that the scale is 1.0 instead of 2.0 as in my original GTiff.</div><div><br></div><div>I've tried edit the gpkg db with a sqlite editor and edit the scale value manually and reloaded it in QGIS but then QGIS shows weird values (I expected values around 600, without scaling I get values around 300 and after changing the scale value manually from 1.0 to 2.0 I get values > 32,000).</div><div><br></div><div>any suggestions?</div><div><br></div><div>Kind regards,</div><div>Idan</div></div></div></div>