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

Add longoptions support for psconvert. #8309

Merged
merged 5 commits into from
Mar 2, 2024
Merged

Add longoptions support for psconvert. #8309

merged 5 commits into from
Mar 2, 2024

Conversation

rbdavis
Copy link
Contributor

@rbdavis rbdavis commented Jan 18, 2024

Description of proposed changes

Python differences:

No differences.

Julia differences:

Replaced -I icc_gray (???) with python resize.
Julia does not have -N
Some other aliases added on top of Julia.

Fixes #

Reminders

  • Make sure that your code follows our style. Use the other functions/files as a basis.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Describe changes to function behavior and arguments in a comment below the function declaration.
  • If adding new functionality, add a detailed description to the documentation and/or an example.

@rbdavis rbdavis requested a review from a team January 18, 2024 15:02
- Changed -A from "adjust|crop" to more appropriate "autocrop|crop"
- Added "ghost_*" to align with "ghost_path"
- Replaced "bb_style" with "show_bbox"
- Added "ps_layer" as alternative to "pslayer"
@PaulWessel
Copy link
Member

@remkos, make sure you dont remove aliases that the python and Julia folks have put in since they are needed.

@remkos
Copy link
Contributor

remkos commented Jan 23, 2024

@remkos, make sure you dont remove aliases that the python and Julia folks have put in since they are needed.

You're right. Checked that for -N but forgot to do so for -A. I just restored --adjust

@rbdavis
Copy link
Contributor Author

rbdavis commented Jan 23, 2024

Also restored the Python -N bb_style string removed by yesterday's changes.

GMT_TP_STANDARD },
{ 0, 'Z', "",
"", "",
{ 0, 'W', "esri|world_file",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the need to add esri, which is the name of the company. world_file is like GDAL refers to it for example.

"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
{ 0, 'N', "bb_style|show_bbox",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer bgcolor. This is mainly not about the BoundingBox per se but specially on the possibility to paint the BB area.

@joa-quim
Copy link
Member

joa-quim commented Mar 2, 2024

Applied suggested changes.

@joa-quim joa-quim merged commit 22dd3cb into master Mar 2, 2024
6 checks passed
@joa-quim joa-quim deleted the longopts-psconvert branch March 2, 2024 19:06
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.

None yet

4 participants