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

Fix lack of xyz->xy conversion for graticules in grdview -T #8072

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

PaulWessel
Copy link
Member

See #8036 for background. We use gmt_graticule_path to uild polygons for each grid node but in grdview we need to project them to 3-D coordinates (x,y,z to x', y')

Now,

gmt grdview @earth_relief_10m -JB-90/21/19/23/10c -R-92/-87/19/23 -p-30/40 -Cglobe -B -BWSen -T -png map

yields

t

gmt grdview @earth_relief_10m -JB-90/21/19/23/10c -R-92/-87/19/23 -p-30/40 -Cglobe -B -BWSen -Qc -png map

still fails (below) but that is a separate branch in grdview that needs another fix by another PR.

map

We use gmt_graticule_path to uild polygons for each grid node but in grdview we need to project them to 3-D coordinates (x,y,z to x', y')
@PaulWessel PaulWessel added the bug Something isn't working label Nov 24, 2023
@PaulWessel PaulWessel added this to the 6.5.0 milestone Nov 24, 2023
@PaulWessel PaulWessel requested a review from joa-quim November 24, 2023 13:42
@PaulWessel PaulWessel self-assigned this Nov 24, 2023
Copy link
Member

@joa-quim joa-quim left a comment

Choose a reason for hiding this comment

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

Congrats

@PaulWessel
Copy link
Member Author

I went back to grdview 6.0 code and whatever that was it had the same bug, so nothing recent other than a new function that had the same problem.

@PaulWessel PaulWessel merged commit 1190187 into master Nov 24, 2023
6 checks passed
@PaulWessel PaulWessel deleted the graticule-image-tiling branch November 24, 2023 14:13
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

Successfully merging this pull request may close these issues.

2 participants