Sorry, I was writing to .gdalalg.json trying to replicate the example athttps://gdal.org/en/latest/programs/gdal_raster_pipeline.html#programs/gdal_raster_pipeline-2. I was expecting it would write the file, and that in API use the "output" dataset arg would also be opened on the GDALG, but that probably doesn't make sense. It works fine when the final write step is to .tif or .vrt. I should have explored that more first.
Ah ok, yes writing to the .gdalg.json file is a bit of special case. But you can just GDALOpen() the file afterwards to get the dataset
-- http://www.spatialys.com My software is free, but my time generally not.
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev