Skip to content

Add log value-to-colour scaling for map images and tiles#602

Open
jroman-ak wants to merge 1 commit into
os-climate:mainfrom
arfima:add-logscale
Open

Add log value-to-colour scaling for map images and tiles#602
jroman-ak wants to merge 1 commit into
os-climate:mainfrom
arfima:add-logscale

Conversation

@jroman-ak

Copy link
Copy Markdown
Contributor

HazardImageRequest gains an optional scaling field ('linear'/'log'). ImageCreator.to_rgba maps values logarithmically between min_value (must be > 0, acts as the floor) and max_value when scaling='log'; bin rules (nodata/min/max indices) are unchanged.

Co-authored-by: Carlos San Millán csanmillan@arfimaconsulting.com
Signed-off-by: Juan Román Roche jroman@arfimaconsulting.com

@jroman-ak jroman-ak marked this pull request as ready for review June 17, 2026 11:58
@jroman-ak jroman-ak requested a review from joemoorhouse as a code owner June 17, 2026 11:58
@jroman-ak jroman-ak force-pushed the add-logscale branch 5 times, most recently from 90f81af to 49804be Compare June 22, 2026 10:04
@YulianLC YulianLC force-pushed the add-logscale branch 2 times, most recently from b8f60ea to c4a05ec Compare July 1, 2026 15:11
HazardImageRequest gains an optional scaling field ('linear'/'log').
ImageCreator.to_rgba maps values logarithmically between min_value
(must be > 0, acts as the floor) and max_value when scaling='log';
bin rules (nodata/min/max indices) are unchanged.

Signed-off-by: Juan Roman <jroman@arfimaconsulting.com>
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.

1 participant