Serializes a parsed parse_pipeline() result back into a single-line
command_line string, using the same minimal quoting that GDAL itself uses
when it writes *.gdalg.json files. The result round-trips: parsing the
output again yields an equivalent pipeline.
Arguments
- x
A
gdalviz_pipeline, or a string/path accepted byread_gdalg().- prog
Logical or
NULL. Whether to emit the leadinggdal <type> pipelineprogram prefix. Defaults toTRUE.- type
Pipeline type (
"vector"or"raster"). Defaults to the type detected during parsing, falling back to"vector".
