Hello Kirk, I tried both options (raw data and rendered image), but none of them solve the problem. This is a screenshot of the configuration panel. Alberto
Da: Qgis-user <[email protected]> Per conto di Kirk Schmidt Inviato: martedì 1 dicembre 2020 16:56 A: [email protected] Oggetto: Re: [Qgis-user] Importing a raster into a Geopackage Hello Alberto: 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). Can you share the version you are using? Kirk [cid:[email protected]] On 12/1/2020 10:56 AM, Alberto Vavassori wrote: 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. Has anybody faced this problem? May anybody suggest a way to work this problem out? Thank you. Alberto _______________________________________________ Qgis-user mailing list [email protected]<mailto:[email protected]> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user -- Kirk Schmidt, MScF, BScF, RPF General Manager Nortek Resource Solutions Inc. RR # 1 Thorburn, NS B0K 1W0 Tel (902) 922.3607 Email: [email protected]<mailto:[email protected]> Web: www.nortekresources.com<http://www.nortekresources.com>
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
