Skip to content
New issue

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

projinfo: 2 args equivalent to usage of -s and -t #4218

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

jjimenezshaw
Copy link
Contributor

From
https://lists.osgeo.org/pipermail/proj/2024-May/011388.html

Some times when I am using cs2cs I want to do also a projinfo, to see the
transformation(s) that is may apply.

It is always bothering me that I have to add "-s" and "-t".

Does it make sense that if there are two args without option identifier, it
assumes that the second is "-t"? Am I missing some corner-cases? (if you
like the idea, I am happy to do the PR)
I do not mean to remove "-t" completely, but to make the arg parser more
flexible.

  • Tests added
  • Added clear title that can be used to generate release notes
  • Fully documented, including updating docs/source/*.rst for new API

src/apps/projinfo.cpp Outdated Show resolved Hide resolved
@rouault rouault merged commit 0702d75 into OSGeo:master Aug 13, 2024
22 of 23 checks passed
@rouault rouault added this to the 9.5.0 milestone Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants