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

Remove all mention of using 1:xxxx format with -J from the docs #7594

Closed
jidanni opened this issue Jul 2, 2023 · 4 comments
Closed

Remove all mention of using 1:xxxx format with -J from the docs #7594

jidanni opened this issue Jul 2, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@jidanni
Copy link
Contributor

jidanni commented Jul 2, 2023

Please remove all mention of using 1:xxxx format with -J from the
docs. It is scattered all over the place, and misleads users.
It must have been copied blindly into the docs from other projections.
Thanks.

Proof:

gmt begin x
#   gmt coast -R270/20/305/25+r -JOc280/25.5/22/69/12c -W
    gmt coast -R270/20/305/25+r -JOc280/25.5/22/69/1:27705500 -W
gmt end show

coast [ERROR]: Cannot specify map width with 1:xxxx format in -J option
coast [ERROR]: Option -J parsing failure. Correct syntax: ...

gmt begin y
#   gmt basemap -R270/20/305/25+r -JOc280/25.5/22/69/12c        -B
    gmt basemap -R270/20/305/25+r -JOc280/25.5/22/69/1:27705500 -B
gmt end show

basemap [ERROR]: Cannot specify map width with 1:xxxx format in -J option
basemap [ERROR]: Option -J parsing failure. Correct syntax: ...
@jidanni jidanni added the bug Something isn't working label Jul 2, 2023
@PaulWessel
Copy link
Member

Do you have an example where this happens? We are will aware of 1:xxxx with lower case and thought we have been consistent.

@jidanni
Copy link
Contributor Author

jidanni commented Jul 2, 2023

I see, I forgot to test with the little o instead of the big O!

You know what,

can you please change the error message top part,

Cannot specify map width with 1:xxxx format in -J option

to say instead

Cannot specify map width with 1:xxxx format with -JO option. Try -Jo.

Then close this bug. Thanks.

@PaulWessel
Copy link
Member

But this applies to every projection, not just -Jo no?

@jidanni
Copy link
Contributor Author

jidanni commented Jul 3, 2023

All I know is my -J experience.

I made a much clearer report in #7598 .

@jidanni jidanni closed this as not planned Won't fix, can't repro, duplicate, stale Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants