Open na9da opened 4 years ago
In the oceans catalog color scale range is specified directly as a COLORSCALERANGE WMS param.
COLORSCALERANGE
This works but the color scale range UI (on the workbench) doesn't pick up this setting and defaults to -50 to 50 as seen here.
-50
50
To make it work correctly we need to set the colorScaleMaximum and colorScaleMinimum values instead. eg of correct usage: https://github.com/TerriaJS/aremi-natmap/blob/master/datasources/aremi/custodian/Bureau_of_Meteorology/Solar_Climatology.ejs#L11-L13
colorScaleMaximum
colorScaleMinimum
In the oceans catalog color scale range is specified directly as a
COLORSCALERANGE
WMS param.This works but the color scale range UI (on the workbench) doesn't pick up this setting and defaults to
-50
to50
as seen here.To make it work correctly we need to set the
colorScaleMaximum
andcolorScaleMinimum
values instead. eg of correct usage: https://github.com/TerriaJS/aremi-natmap/blob/master/datasources/aremi/custodian/Bureau_of_Meteorology/Solar_Climatology.ejs#L11-L13