[gdal-dev] Gdalenhance, VRT and LUT

Even Rouault even.rouault at spatialys.com
Sun Oct 26 14:34:22 PDT 2025


Hi Jukka,

Le 26/10/2025 à 22:23, Rahkonen Jukka via gdal-dev a écrit :
> Hi,
>
> I tried to use gdalenhance by having VRT as the outputformat and supposed that the resulting VRT would contain LUT elements, but it did not. Is this a known but undocumented limitation inhttps://gdal.org/en/stable/programs/gdalenhance.html?

yes. It does use VRT internally, but using a method 
(VRTSourcedRasterBand::/AddFuncSource/()) that doesn't support 
serialization as XML VRT.

Error message and doc added in 
https://github.com/OSGeo/gdal/commit/d7748d51e550b75b19869a1e222bdf85b40c75bf

Even

-- 

http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20251026/edc15d15/attachment.htm>


More information about the gdal-dev mailing list