[gdal-dev] pipeline algorithm from C API

Chris Toney jctoney at gmail.com
Mon Aug 18 22:33:19 PDT 2025


Hi,
With the C API, pipeline algorithm can be instantiated, arguments
parsed, and the actual algorithm obtained and run. File output is
successfully generated.

I don't see a way in the C API to obtain the pipeline algorithm step
registry or access the step algorithms to obtain their argument
properties and values. Would GetStepAlg()  and related methods
potentially be exposed in the C API at some point, along with a
"GetStepRegistry"?

When run as described above, the main pipeline (actual) algorithm
object has an output arg of type DATASET, but it is not explicitly set
and has null value even though the file output is successfully
generated. I assume the dataset object is available in the output arg
of the "write" step algorithm, but I haven't followed that code
closely enough to understand some details. If that is correct though,
could the final output dataset be propagated up to the main pipeline
algorithm "output" arg?

Thanks.

Chris Toney


More information about the gdal-dev mailing list