Skip to content

Possibly, same option names for GDAL CLI and GDAL programs #12164

@PostholerCom

Description

@PostholerCom

Feature description

For instance, using ogr2ogr you would specify a source SRS like:
-s_srs EPSG:4326

With CLI it becomes:
-s, --src-crs

For readability or porting, 'it would be nice' if they could be the same. The CLI might look like:
--s_srs

The same might be said for clipping where CLI is --bbox, it might be --spat or --projwin. Maybe even all 3? Anywhere the existing switches can match the new CLI would be great!

Thanks!

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions