Skip to content

The oleron did not actually have a zero entry despite HINGE = 0#2004

Merged
PaulWessel merged 6 commits into6.0from
oleronbug
Nov 8, 2019
Merged

The oleron did not actually have a zero entry despite HINGE = 0#2004
PaulWessel merged 6 commits into6.0from
oleronbug

Conversation

@PaulWessel
Copy link
Copy Markdown
Member

We require a z == 0 slice for HINGE == 0 to work. Fixes issue reported in the forum: https://forum.generic-mapping-tools.org/t/setting-a-color-hinge-for-oleron-color-palette-table-cpt/74

The rest were OK
@@ -141,7 +141,8 @@
-0.019608 229/237/238 -0.011764 230/238/238
-0.011764 230/238/238 -0.003922 230/238/237
-0.003922 230/238/237 0.003922 231/239/237
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
-0.003922 230/238/237 0.003922 231/239/237

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This change is incorrect. There are duplicated records for -0.003922 to 0.003922.

@PaulWessel
Copy link
Copy Markdown
Member Author

PaulWessel commented Nov 8, 2019 via email

@seisman
Copy link
Copy Markdown
Member

seisman commented Nov 8, 2019

I'm also very confused about hinge. From what I understand, hinge is only needed when a CPT has a color discontinuity at z=0 (i.e. CPT for earth relief). Of the 7 CPTs changed in this PR, only oleron is discontinuous at z=0, while all others are continuous.

@PaulWessel
Copy link
Copy Markdown
Member Author

Continuous yes, but note that they (berlin, broc, cork, lisbon, roma, tofino) all goes through either a near-white or near-black middle value with either lighter/darker on each side or different shades of two different colors. These are all meant to have a hinge even though there is no jump at zero.

@@ -141,7 +141,8 @@
-0.019608 229/237/238 -0.011764 230/238/238
-0.011764 230/238/238 -0.003922 230/238/237
-0.003922 230/238/237 0.003922 231/239/237
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This change is incorrect. There are duplicated records for -0.003922 to 0.003922.

@PaulWessel PaulWessel merged commit 3fb8efa into 6.0 Nov 8, 2019
@PaulWessel PaulWessel deleted the oleronbug branch November 8, 2019 18:02
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.

2 participants