[gdal-dev] gdalgviz - a Python library for visualising GDALG pipelines
Seth G
sethg at geographika.co.uk
Sun Feb 15 00:17:54 PST 2026
Hi all,
I’ve written a small Python library that generates workflow diagrams (using Graphviz) from GDAL Pipelines:
GitHub: https://github.com/geographika/gdalgviz
PyPI: https://pypi.org/project/gdalgviz/
For example, the following pipeline:
gdal raster pipeline ! read n43.tif ! color-map --color-map color_file.txt ! \
tee [ write colored.tif --overwrite ] ! \
blend --operator=hsv-value --overlay \
[ read n43.tif ! hillshade -z 30 ! tee [ write hillshade.tif --overwrite ] ] \
! write colored-hillshade.tif --overwrite
Running `gdalgviz tee.json tee.svg` produces this diagram:
https://raw.githubusercontent.com/geographika/gdalgviz/refs/heads/main/examples/tee.svg
Each command node links to the relevant GDAL documentation page.
I’m hoping this might be useful for some of you - feedback is welcome, and please log any issues or suggestions on GitHub.
Seth
More information about the gdal-dev
mailing list