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

Oblique projection (Ob): Partly wrong annotations #8418

Open
yvonnefroehlich opened this issue Mar 28, 2024 · 0 comments
Open

Oblique projection (Ob): Partly wrong annotations #8418

yvonnefroehlich opened this issue Mar 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@yvonnefroehlich
Copy link
Member

yvonnefroehlich commented Mar 28, 2024

Description of the problem

Related to this forum post https://forum.generic-mapping-tools.org/t/how-to-set-the-annotation-of-x-axis-as-latitude-when-i-use-oblique-projection/4751/13

Here, I try to summarize the main findings so far.:

Full script that generated the error

Case I (GMT forum)
Top Left

gmt grdimage @earth_relief -JOb168/51/172/32.5/6c -R-500/2300/-400/400+uk -Ggray -BeNsW -Bxa5f1 -Bya5f1 -png lon_lat

Top Right

gmt grdimage @earth_relief -JOb168/51/172/32.5/6c+v -R-500/2300/-400/400+uk -Ggray -BeNsW -Bxa5f1 -Bya5f1 -png lon_lat_v

Bottom Left

gmt grdimage @earth_relief -JOb168/51/172/32.5/6c -R-500/2300/-400/400+uk -Ggray -BeNsW -Bxa5f1 -Bya5f1 --MAP_ANNOT_OBLIQUE=anywhere -png lon_lat_anywhere

Bottom Right

gmt grdimage @earth_relief -JOb168/51/172/32.5/6c+v -R-500/2300/-400/400+uk -Ggray -BeNsW -Bxa5f1 -Bya5f1 --MAP_ANNOT_OBLIQUE=anywhere -png lon_lat_anywhere_v
Top Left: Wrong Top Right: Correct
lon_lat lon_lat_v
Bottom Left Bottom Right
lon_lat_anywhere lon_lat_anywhere_v

Case II (PyGMT docs)
Top Left

gmt coast -JOb130/35/25/35/6c -R130/35/145/40+r -Ggray -BWSNE -Bxa5f1g5 -Bya2f1g2 -png lon_lat_02

Top Right

gmt coast -JOb130/35/25/35/6c+v -R130/35/145/40+r -Ggray -BWSNE -Bxa5f1g5 -Bya2f1g2 -png lon_lat_v_02

Bottom Left

gmt coast -JOb130/35/25/35/6c -R130/35/145/40+r -Ggray -BWSNE -Bxa5f1g5 -Bya2f1g2 --MAP_ANNOT_OBLIQUE=anywhere -png lon_lat_anywhere_02

Bottom Right

gmt coast -JOb130/35/25/35/6c+v -R130/35/145/40+r -Ggray -BWSNE -Bxa5f1g5 -Bya2f1g2 --MAP_ANNOT_OBLIQUE=anywhere -png lon_lat_v_anywhere_02
Top Left: Correct Top Right: Wrong
lon_lat_02 lon_lat_v_02
Bottom Left Bottom Right
lon_lat_anywhere_02 lon_lat_v_anywhere_02

Full error message

No error message occurs.

System information

  • Operating system: Windows and Linux
  • GMT version (gmt --version): GMT 6.5
@yvonnefroehlich yvonnefroehlich added the bug Something isn't working label Mar 28, 2024
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

1 participant