Skip to content

A 'Clamped' option for color-ramp definition with min-render/max-render boundaries #220

@jfbourgon

Description

@jfbourgon

min-render and max-render properties allow service administrators to define rendering boundaries for color-ramp definition. By default, values outside those boundaries are rendered as transparent pixels. For instance with the following configuration, any NDVI values above 0.5 or below -0.5 will be rendered as transparent.

type = "colorrampconf"
colors = ${color-ramps.ndvi}
min-render = -0.5
max-render = 0.5

It it might be interesting to offer to clamp values outside those ranges to color-ramp lowest/highest colors.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions