Skip to content

gdal CLI: rename --src/--dst args to --input/--output#14383

Open
dbaston wants to merge 18 commits intoOSGeo:masterfrom
dbaston:dst-crs-rename
Open

gdal CLI: rename --src/--dst args to --input/--output#14383
dbaston wants to merge 18 commits intoOSGeo:masterfrom
dbaston:dst-crs-rename

Conversation

@dbaston
Copy link
Copy Markdown
Member

@dbaston dbaston commented Apr 17, 2026

This PR starts to correct what is (in my view) an inconsistency between arguments that use src/dst vs arguments that use input/output.

Opening the PR to get feedback before tackling the other CLI commands.

@dbaston dbaston added the gdal_cli Anything related to the new 3.11 "gdal" CLI frontend label Apr 17, 2026
@rouault
Copy link
Copy Markdown
Member

rouault commented Apr 17, 2026

that use src/dst vs arguments that use input/output.

if we go that road (which is OK to me), shouldn't we also rename the following:

src-field-type
src-max
src-min
src-nodata
dst-max
dst-min
dst-nodata

@dbaston
Copy link
Copy Markdown
Member Author

dbaston commented Apr 17, 2026

Yes

@dbaston dbaston marked this pull request as ready for review April 22, 2026 21:09
@dbaston dbaston changed the title gdal vector concat: rename --src-crs and --dst-crs to --input-crs and --output-crs gdal CLI: rename --src/--dst args to --input/--output Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gdal_cli Anything related to the new 3.11 "gdal" CLI frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants