We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am testing the GDAL tools on QGIS 3.22.8 on Windows. When running gdal2xyz with a single band raster I am getting the following error:
C:\Users\testing_user>gdal2xyz.bat -b 1 C:/Users/testing_user/Desktop/gdal_commands_test/mdt_clipped.tif OUTPUT.csv usage: gdal2xyz.py [-h] [-skip] [-srcwin xoff yoff xsize ysize] [-b band [band ...]] [-allbands] [-csv] [-skipnodata] [-srcnodata [SRC_NODATA ...]] [-dstnodata [DST_NODATA ...]] src_dataset dst_dataset gdal2xyz.py: error: argument -b/-band/--band: invalid int value: 'C:/Users/testing_user/Desktop/gdal_commands_test/mdt_clipped.tif'
If I remove the -b option it works.
Windows Is now on GDAL 3.5.0. On my linux machine that still uses GDAL 3.0.4 it works fine.
gdal2xyz.bat -b 1 C:/Users/testing_user/Desktop/gdal_commands_test/mdt_clipped.tif OUTPUT.csv
Windows 10
GDAL 3.5.0
The text was updated successfully, but these errors were encountered:
7d6040c
Merge pull request #5990 from rouault/fix_5984
5b05981
gdal2xyz.py: fix parsing of -b option (fixes #5984)
5588353
Merge pull request #5992 from OSGeo/backport-5990-to-release/3.5
0cb66cb
[Backport release/3.5] gdal2xyz.py: fix parsing of -b option (fixes #5984)
gdal2xyz.py: fix parsing of -b option (fixes OSGeo#5984)
1bd4dda
-srcnodata
-dstnodata
rouault
No branches or pull requests
Expected behavior and actual behavior.
I am testing the GDAL tools on QGIS 3.22.8 on Windows. When running gdal2xyz with a single band raster I am getting the following error:
C:\Users\testing_user>gdal2xyz.bat -b 1 C:/Users/testing_user/Desktop/gdal_commands_test/mdt_clipped.tif OUTPUT.csv
usage: gdal2xyz.py [-h] [-skip] [-srcwin xoff yoff xsize ysize] [-b band [band ...]] [-allbands] [-csv] [-skipnodata]
[-srcnodata [SRC_NODATA ...]] [-dstnodata [DST_NODATA ...]]
src_dataset dst_dataset
gdal2xyz.py: error: argument -b/-band/--band: invalid int value: 'C:/Users/testing_user/Desktop/gdal_commands_test/mdt_clipped.tif'
If I remove the -b option it works.
Windows Is now on GDAL 3.5.0. On my linux machine that still uses GDAL 3.0.4 it works fine.
Steps to reproduce the problem.
gdal2xyz.bat -b 1 C:/Users/testing_user/Desktop/gdal_commands_test/mdt_clipped.tif OUTPUT.csv
Operating system
Windows 10
GDAL version and provenance
GDAL 3.5.0
The text was updated successfully, but these errors were encountered: