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.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to