Skip to content

Fix incorrect Van Grinten map clip path - #7287

Merged
PaulWessel merged 4 commits into
masterfrom
vangrinten-clippath
Mar 2, 2023
Merged

PaulWessel merged 4 commits into
masterfrom
vangrinten-clippath

Conversation

@PaulWessel

Copy link
Copy Markdown
Contributor

The Van Grinten is similar to, say, Hammer, in that it has curved meridians and parallels. However, the code had it placed with other cases who either had pole point or straight parallels, leading to stuff @KristofKoch reported in #7282. This PR just fixes the calculation of the map clip path - there may be other issues but tackling those next (assuming they are still there - I think so since not giving central longitude works in general OK...).

Below is from master, then from this PR. All tests are unaffected (since not testing the central longitude).:

Master:

bad

This PR:
good

The Van Grinten is similar to, say, Hammer, in that it has curved meridians and parallels.  However, the code had it placed with others who either had pole point or straight parallels, leading to stuff like #7282.  This PR just fixes the calculation of the map clip path - there may be other issues but tackling those next.
@PaulWessel PaulWessel added the bug Something isn't working label Mar 2, 2023
@PaulWessel PaulWessel added this to the 6.5.0 milestone Mar 2, 2023
@PaulWessel PaulWessel self-assigned this Mar 2, 2023
@anbj

anbj commented Mar 2, 2023

Copy link
Copy Markdown
Contributor

Not completely acquainted with this issue, but this is how the script in #7282 looks at my end.
van_der_Grinten_quadrants_hemispheres

@PaulWessel
PaulWessel merged commit a3ac340 into master Mar 2, 2023
@PaulWessel
PaulWessel deleted the vangrinten-clippath branch March 2, 2023 12:29
anbj pushed a commit that referenced this pull request Mar 7, 2023
* Fix incorrect Van Grinten map clip path

The Van Grinten is similar to, say, Hammer, in that it has curved meridians and parallels.  However, the code had it placed with others who either had pole point or straight parallels, leading to stuff like #7282.  This PR just fixes the calculation of the map clip path - there may be other issues but tackling those next.

* Update gmt_map.c
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.

3 participants