[gdal-dev] argument default value in the C API to GDALAlgorithmArg

Chris Toney jctoney at gmail.com
Sun Aug 3 18:46:04 PDT 2025


Hi,
In the C API there is GDALAlgorithmArgHasDefaultValue(), but no
interface to the GetDefault() class method to access the value itself
when there is one (nor in the Python bindings, AFAICS).

I don't believe there is a fromHandle() method on GDALAlgorithmArg to
get to the C++ object.

Is there possibly a workaround for that when working through the C API?

Chris


More information about the gdal-dev mailing list