[Qgis-user] Importing a raster into a Geopackage

Kirk Schmidt kirk at nortekresources.com
Tue Dec 1 07:56:17 PST 2020


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

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
> 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
Web: www.nortekresources.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201201/f78385fa/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ckibaohafgbnijib.png
Type: image/png
Size: 22253 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201201/f78385fa/attachment.png>


More information about the Qgis-user mailing list