Dear all, *Some context* In our system, we convert elevation data into Geopackage in order to use them with mapcache/mapserver. For our display needs, we save two layers in a GPKG file :
- a color-relief layer : saved as RGBA 8-bit PNG tiles - a hillshade layer : saved as RGBA 8-bit PNG tiles *My environment* GDAL V3.8.4 *My question :* Since a hillshade image is a gray-scale image, isn't it possible to save tiles in 1-band 8-bit PNG + Alpha band, instead of RGB, into a PKG database? I have tried several options with either gda_translate (-b 1, -ot Byte, TILE_FORMAT=PNG or PNG8) or gdalwarp, with no success. Thanks for any hints you could give me. Sincerely Philippe The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
