Re: [gdal-dev] Command line /python syntax differences

2022-11-02 Thread Chris Smemoe via gdal-dev
via gdal-dev Sent: Wednesday, November 02, 2022 8:30 AM To: Even Rouault; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Command line /python syntax differences Thanks Even, Still some discrepancy. Python (don't work but no error and no output ): src_ds = gdal.Open("I:\in

Re: [gdal-dev] Command line /python syntax differences

2022-11-02 Thread Jonas Ardö via gdal-dev
Thanks Even, Still some discrepancy. *Python (don't work but no error and no output ): *src_ds = gdal.Open("I:\indata\VPDsc\VPD_scalar.tif")     #1 GDALWARP to warp all bands in one go     options = gdal.WarpOptions(options=srcSRS="EPSG:4326", dstSRS="EPSG:32628", xRes=20.0, yRes=20.0, resample

Re: [gdal-dev] Command line /python syntax differences

2022-11-02 Thread Even Rouault
Jonas, The doc is at: https://gdal.org/api/python/osgeo.gdal.html#osgeo.gdal.TranslateOptions Even Le 02/11/2022 à 11:53, Jonas Ardö via gdal-dev a écrit : Dear gdal-gurus, I am new to using gdal via Python. As the command line arguments/keywords differ from command prompt mode and Python-

Re: [gdal-dev] Command line /python syntax differences

2022-11-02 Thread Kirk Waters - NOAA Federal via gdal-dev
Jonas, I believe the information is under the python API section of the gdal.org site. For example, the description of the translate options is at https://gdal.org/api/python/osgeo.gdal.html#osgeo.gdal.TranslateOptions. Kirk Waters, PhD NOAA Office for

[gdal-dev] Command line /python syntax differences

2022-11-02 Thread Jonas Ardö via gdal-dev
Dear gdal-gurus, I am new to using gdal via Python. As the command line arguments/keywords differ from command prompt mode and Python-mode (for example for example is *-r* in gdal_translate  the same  as *resampleAlg* in gdal.Translate in Python). I find it tricky to find arguments/keywords i