Skip to contents

Read and parse

Turn command lines, GDALG files, and shell scripts into pipelines.

parse_pipeline()
Parse a GDAL vector pipeline into a structured object
read_gdalg()
Read a GDAL pipeline from a GDALG file or raw string
parse_script()
Parse a shell or powershell script into a pipeline
read_script()
Read a shell or powershell script file into a pipeline

Validate

Check pipelines against the GDAL –json-usage contract.

lint_pipeline()
Lint a GDAL pipeline against the GDAL contract
validate_pipeline()
Validate a GDAL pipeline against the GDAL contract
gdalviz_contract()
GDAL vector pipeline contract registry
gdalviz_refresh_contract()
Regenerate the GDAL pipeline contract snapshot from the installed GDAL
contract_step()
Look up a single pipeline step in the contract

Graph model

pipeline_graph()
Build a renderer-agnostic graph model from a parsed pipeline

Render

Interactive and static visualizations.

render_reactflow()
Render a pipeline graph as an interactive React Flow widget
pipelineFlowOutput() renderPipelineFlow()
Shiny bindings for pipeline_flow widgets
render_diagrammer()
Render a pipeline graph as a Graphviz diagram (static-capable)
pipeline_dot()
Generate the DOT specification for a pipeline graph
render_g6()
Render a pipeline graph as an interactive g6 (AntV G6) widget

Serialize

Back out to command lines, scripts, and GDALG.

render_command_line()
Render a pipeline as a canonical GDALG command line
render_script()
Render a pipeline as a formatted shell script
as_gdalg()
Convert a pipeline to a GDALG specification list
write_gdalg()
Write a pipeline to a GDALG JSON file