<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <span style="color: rgb(32, 33, 36); font-family: arial, sans-serif; font-size: 28px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(248, 249, 250); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"></span>
    <div class="moz-signature">Hi,<br>
      <br>
      I think that would only be possible with several layers  in a
      GROUP at the moment...<br>
      <br>
      Greetings Sven<br>
      <br>
      <br>
    </div>
    <div class="moz-cite-prefix">Am 30.03.2023 um 11:53 schrieb Carlos
      Neves (LREC):<br>
    </div>
    <blockquote type="cite"
      cite="mid:8b4b4d11-e517-89df-411e-930e301d3303@lrec.pt">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p>Hi List,</p>
      <p>Is there a way to change OPACITY by scale? The goal is to show 
        Orthophotomaps under risk areas.<br>
      </p>
      <p>LAYER # Rock Fall Risk Model  <br>
            NAME         "rockfall"<br>
                COMPOSITE<br>
                        OPACITY 50<br>
                END<br>
            DATA         "geotiffs/risk_m.tiff" # GeoTiff RockFall Risk
        File<br>
            STATUS       default<br>
            TYPE         RASTER<br>
        <br>
            METADATA<br>
               "wms_title" "rockfall"<br>
            END<br>
                TEMPLATE "rockfall_query.html" # Rockfall Query file<br>
                        CLASS<br>
                                NAME "RockFall Risk"<br>
                                EXPRESSION ([pixel] > 0 )<br>
                                #MAXSCALEDENOM 10000<br>
                                #MINSCALEDENOM 2000<br>
                                STYLE<br>
                                        DATARANGE 1 3<br>
                                        COLORRANGE 255 255 0 255 0 0<br>
                                END #STYLE<br>
                        END #Class<br>
        <br>
        <br>
        END # Rock Fall layer ends here
############################################################################</p>
      <p>risk map example:</p>
      <p><img src="cid:part1.J9DNvMFX.5Vj8Hox9@netgis.de" alt=""
          class=""></p>
      <p>Best Regards,</p>
      <p>Carlos<br>
      </p>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
MapServer-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>