[Qgis-user] R: Importing a raster into a Geopackage

Alberto Vavassori alberto.vavassori at polimi.it
Tue Dec 1 08:13:46 PST 2020


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 <qgis-user-bounces at lists.osgeo.org> Per conto di Kirk Schmidt
Inviato: martedì 1 dicembre 2020 16:56
A: qgis-user at lists.osgeo.org
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:image001.png at 01D6C805.51595910]
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

Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>

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: kirk at nortekresources.com<mailto:kirk at nortekresources.com>

Web: www.nortekresources.com<http://www.nortekresources.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201201/119451f8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 22253 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201201/119451f8/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configuration.PNG
Type: image/png
Size: 31105 bytes
Desc: configuration.PNG
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201201/119451f8/attachment-0003.png>


More information about the Qgis-user mailing list