[gdal-dev] gdal raster calc and -i nested pipeline, proper usage?

Scott public at postholer.com
Sun Apr 5 13:14:17 PDT 2026


Greetings,

Is the following proper usage?

gdal raster pipeline \
    ! calc -i [ ! stack --resolution=highest -i *.tif ! materialize ] 
--flatten --calc=mean --dialect=builtin \
    ! write -o result.tif --co COMPRESS=DEFLATE --overwrite

...results in the error:

ERROR 1: Failed to open $$nested_pipeline_0x563f54398d00$$
0...10...20...30...40...50...60...70...80...90...100 - done.

Removing materialize altogether or adding -o tmp.tif to materialize 
results in the same error.

Debian 12
GDAL 3.13.0dev-8e81b0c5db, released 2026/03/24

Thanks!
Scott

-- 
www.postholer.com



More information about the gdal-dev mailing list