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

2020-12-04 Thread Fernando M. Roxo da Motta
On Wed, 2 Dec 2020 18:52:31 -0500, Nicolas Cadieux wrote: I just find out a "hint" I have in my "hints" directory with the following content: ===8<- tif_to_Geopackage - http://www.qfield.org/docs/project-management/dataformat.html Use GeoPackage We recommend to us th

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

2020-12-03 Thread Nicolas Cadieux
Hi, Feature Request was made to disable JPEG lossy compression on Byte data type when exporting raster to a geopackage. This is not technically a bug report as this is the default mode for the driver. https://github.com/qgis/QGIS/issues/40425 On 2020-12-01 9:56 a.m., Alberto Vavassori wrote:

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

2020-12-02 Thread Nicolas Cadieux
Hi, Just to close this thread, this is the answer I got from Even Rouault on the gdal dev mailing list. > On mercredi 2 décembre 2020 15:16:44 CET Nicolas Cadieux wrote: > Hi, > > This follows a discussion in the qgis-user mailing list. We are using > gdal_translate (and QGIS "export as") on

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

2020-12-01 Thread Nicolas Cadieux
Hi, Send a sample data set if you can't figure it out. Nicolas On 2020-12-01 10:35 a.m., Nicolas Cadieux wrote: Hi, Perhaps this can help: https://gdal.orgdrivers/raster/gpkg.html “Various kind of input datasets can be converted to GeoPackage raste

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

2020-12-01 Thread Kirk Schmidt
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, Alb

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

2020-12-01 Thread Nicolas Cadieux
Hi, Perhaps this can help: https://gdal.orgdrivers/raster/gpkg.html “Various kind of input datasets can be converted to GeoPackage raster : Single band grey level Single band with R,G,B or R,G,B,A color table Two bands: first band with grey level, second band with alpha channel Three bands: Red,

[Qgis-user] Importing a raster into a Geopackage

2020-12-01 Thread Alberto Vavassori
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