Skip to content

Commit

Permalink
gdal2xyz: Change -srcwin parameter type to integer.
Browse files Browse the repository at this point in the history
  • Loading branch information
eliepa authored Apr 5, 2024
1 parent cf119e5 commit ac3724f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swig/python/gdal-utils/osgeo_utils/gdal2xyz.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def get_parser(self, argv) -> GDALArgumentParser:
"-srcwin",
metavar=("xoff", "yoff", "xsize", "ysize"),
dest="srcwin",
type=float,
type=int,
nargs=4,
help="Selects a subwindow from the source image for copying based on pixel/line location",
)
Expand Down

0 comments on commit ac3724f

Please sign in to comment.