<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>Hello Alberto:</p>
    <p>I just tried saving a dem (single band raster) as a geopackage
      using QGIS 3.10.1.  The only issue I can think of is if you select
      rendered vs raw data in the export dialog (see top of screen shot
      below).</p>
    <p>Can you share the version you are using?</p>
    <p>Kirk<br>
    </p>
    <p><img src="cid:part1.290B00AD.17A1F086@nortekresources.com" alt=""></p>
    <div class="moz-cite-prefix">On 12/1/2020 10:56 AM, Alberto
      Vavassori wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:AM0PR0602MB3716D630B27ED35164BB2DE7EEF40@AM0PR0602MB3716.eurprd06.prod.outlook.com">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Hello everybody. I have
            an issue regarding the Geopackage format. I have tried to
            import a singleband raster file (it represents the land
            cover, thus every pixel has a single integer value
            corresponding to the land cover class), but this operation
            seems to modify the raster characteristics: the raster
            becomes a 4-bands raster and the pixels values change
            accordingly (basically, the original raster is saved in the
            Geopackage as an RGB image). It seems to be a bug of QGIS. I
            have also tried to use GDAL translate through the processing
            toolbox of QGIS to convert the TIFF file to a Geopackage
            file, but the result is the same.</span></p>
        <p class="MsoNormal"><span lang="EN-US">Has anybody faced this
            problem? May anybody suggest a way to work this problem out?</span></p>
        <p class="MsoNormal"><span lang="EN-US">Thank you.</span></p>
        <p class="MsoNormal"><span lang="EN-US">Alberto</span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
RR # 1
Thorburn, NS
B0K 1W0
Tel (902) 922.3607
Email: <a class="moz-txt-link-abbreviated" href="mailto:kirk@nortekresources.com">kirk@nortekresources.com</a>
Web: <a class="moz-txt-link-abbreviated" href="http://www.nortekresources.com">www.nortekresources.com</a></pre>
  </body>
</html>