[gdal-dev] gdal.Run not taking arguments

Michael Smith michael.smith.erdc at gmail.com
Fri Jan 30 09:35:21 PST 2026


Trying to run a gdal cli using the Run command. I am passing the arguments as keyword arguments but its not being taken.

    _ = gdal.Run("vector", "edit", 
                   input=stac_file, 
                   output=final_stac_file,
                   crs="EPSG:4326",
                   overwrite=True,
                   creation_option={"compression": "zstd"}
    )

The input and output are working but the remaining arguments are not. Also tried passing as a dict argument. 

I've used this with other commands successfully (and it does work properly at the command line). 
Not sure what I'm doing wrong.

Mike


-- 

Michael Smith 
RSGIS Center – ERDC CRREL NH 
US Army Corps 








More information about the gdal-dev mailing list