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

Feature Request: Values exceeding colour palette min/max default to black instead of the first/last colour in the palette. #54

Open
JamesDingle opened this issue May 13, 2019 · 2 comments

Comments

@JamesDingle
Copy link

When using the default stretching we use for chlor_a (log 10 scaled, 0.01 to ~67) to keep features highlighted nicely but also comparable between images.

However, when a value is below the minimum or above the maximum, in typical viewers/plotting tools they are just shown as either the first or last colour from the palette. In the GIS portal, these default to being shown as black and the option to go White/Transparent/Pick a colour is given in the layer options but is difficult to manage for colour palettes that don't use a colour for which you could easily guess the hex value.

Features requested:

  • Use the lowest value colour from the palette for values that are lower than the palette minimum.
  • Use the highest value colour from the palette for values that are higher than the palette maximum.
  • Potentially make this the default behaviour to keep functionality in line with what is a fairly well established norm across plotting tools/viewers. (at least the ones I'm familiar with)
@JamesDingle
Copy link
Author

Apologies @doclements I meant to tag you in this, not assign it to you!

@JamesDingle
Copy link
Author

Example of current behaviour

image

Example of proposed behaviour

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants