Mike,
not sure why that fails for you, but works for me:
>>> gdal.Run("vector", "edit", input='poly.gpkg', output='out.parquet',
crs="EPSG:4326", overwrite=True, creation_option={"compression": "zstd"})
<osgeo.gdal.Algorithm; proxy of <Swig Object of type 'GDALAlgorithmHS *'
at 0x7f5feceafe30> >
Even
Le 30/01/2026 à 18:35, Michael Smith via gdal-dev a écrit :
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
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev