<div dir="ltr">Hello,<div><br></div><div>Is it possible to scale a raster based on min and max values determined on a per-file basis, rather than a per-layer or per-WMS-request basis? I have a layer that reads data from one of many <span style="color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px">possible GeoTIFFs, depending on variables that are provided as query-string parameters. Each file has different ranges of values, so I can't manually specify a scaling range with </span><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:11.9px;padding:0.2em 0.4em;margin:0px;background-color:rgba(27,31,35,0.05);border-radius:3px;color:rgb(36,41,46)">PROCESSING "SCALE_1=200,400"</code><span style="color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px"> or the like. But if I use </span><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:11.9px;padding:0.2em 0.4em;margin:0px;background-color:rgba(27,31,35,0.05);border-radius:3px;color:rgb(36,41,46)">PROCESSING "SCALE=AUTO"</code><span style="color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px"> then a range is determined for each request, which produces discontinuities when clients generated tiled requests.</span></div><div><br></div><div><div>Is it possible for MapServer to load raster min and max values from statistics written by GDAL to raster metadata, or is there some other way to solve the problem?</div><br class="gmail-Apple-interchange-newline"></div><div>Thanks,</div><div>Dan</div></div>