Is it possible to restyle a Geoserver WMS so that the color ramp is stretched across the min max values for the current map extent (bounding box)?
I want to do this for a single band DEM dataset. This way, when zooming in to an area, the fine detail will be visible.
I have used a custom SLD_BODY parameter in WMS requests to restyle rasters in a previous project. But this approach requires knowledge of the min and max values for the current map extent!
Perhaps the only practical option is client side styling with COG rasters?