Hi,

no, the values of pixel function arguments are hardcoded in the VRT.   If someone wanted to implement what you mention, that should rather be done as open option (-oo) of the VRT driver

Even

Le 29/01/2024 à 08:29, Scott via gdal-dev a écrit :
With a python pixel function in a .vrt file, is it possible to pass values from the command line?

Example:
gdal_translate ... -lco PixelFunctionArguments=? or -lco -kwargs=?

Basically I want to change the 'min' and 'max' values on the command line:
<PixelFunctionArguments min="0" max="100" />

Thanks!
Scott

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to