<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Edward,</p>
    <p><br>
    </p>
    <p>They don't seem to be required on the Demo MapServer (which is <span style="color: rgb(35, 110, 37); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">MapServer version 7.0.6)</span>:</p>
    <p><a class="moz-txt-link-freetext" href="http://demo.mapserver.org/cgi-bin/wms_landsat?request=DescribeLayer&service=WMS&version=1.3.0&sld_version=1.1.0&layers=WMS_raster">http://demo.mapserver.org/cgi-bin/wms_landsat?request=DescribeLayer&service=WMS&version=1.3.0&sld_version=1.1.0&layers=WMS_raster</a></p>
    <p><br>
    </p>
    <p>For SLD 1.1.0, looking at the spec, Table 1 and 2 both list the
      "Parameters in DescribeLayer operation request". The required ones
      (beyond the standard service/request/version) are:<br>
      layers, sld_version</p>
    <p>There are no others, either mandatory or optional.</p>
    <p><br>
    </p>
    <p>The SLD 1.0 spec is less clear about what's going on, but when I
      changed the sld_version=1.0.0, Mapserver excepted telling me only
      1.1.0 is supported.<br>
    </p>
    <p><br>
    </p>
    <p>Hope that helps in some way,</p>
    <p>Cheers,</p>
    <p>Jonathan<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 2018-07-02 16:35, Edward Mac
      Gillavry wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:VI1P189MB0542037E21ACA1BF3A730651D7430@VI1P189MB0542.EURP189.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
        dir="ltr">
        <p style="margin-top:0;margin-bottom:0">Dear list,</p>
        <p style="margin-top:0;margin-bottom:0"><br>
        </p>
        <p style="margin-top:0;margin-bottom:0">We're currently
          investigating an error message we get from the WMS service
          <font size="2"><span style="font-size:11pt;">when we execute a
              DescribeLayer request. It appears MapServer requires WIDTH
              and HEIGHT parameters to be present:</span></font></p>
        <p style="margin-top:0;margin-bottom:0"><font size="2"><span
              style="font-size:11pt;"><br>
            </span></font></p>
        <p style="margin-top:0;margin-bottom:0"><font size="2"><span
              style="font-size:11pt;"><a
href="https://github.com/mapserver/mapserver/blob/branch-7-0/mapwms.c#L1705"
                class="OWAAutoLink" id="LPlnk214898"
                previewremoved="true" moz-do-not-send="true">https://github.com/mapserver/mapserver/blob/branch-7-0/mapwms.c#L1705</a><a
href="https://github.com/mapserver/mapserver/blob/branch-7-0/mapwms.c#L1705"
                class="OWAAutoLink" id="LPlnk214898"
                previewremoved="true" moz-do-not-send="true"><br>
              </a><br>
            </span></font></p>
        <p style="margin-top:0;margin-bottom:0"><font size="2"><span
              style="font-size:11pt;">However, according to the SLD
              specs, these are NOT required:</span></font></p>
        <p style="margin-top:0;margin-bottom:0"><font size="2"><span
              style="font-size:11pt;"><br>
            </span></font></p>
        <p style="margin-top:0;margin-bottom:0"><font size="2"><span
              style="font-size:11pt;"><a
                href="http://portal.opengeospatial.org/files/?artifact_id=22364"
                class="OWAAutoLink" id="LPlnk236007"
                previewremoved="true" moz-do-not-send="true">http://portal.opengeospatial.org/files/?artifact_id=22364</a><br>
            </span></font></p>
        <p style="margin-top:0;margin-bottom:0"><font size="2"><span
              style="font-size:11pt;"><br>
            </span></font></p>
        <p style="margin-top:0;margin-bottom:0"><font size="2"><span
              style="font-size:11pt;">Am I interpreting the code or SLD
              spec incorrectly? Or should I go ahead and remove these
              checks and provide a PR?</span></font></p>
        <p style="margin-top:0;margin-bottom:0"><font size="2"><span
              style="font-size:11pt;"><br>
            </span></font></p>
        <p style="margin-top:0;margin-bottom:0"><font size="2"><span
              style="font-size:11pt;">Many thanks,</span></font></p>
        <p style="margin-top:0;margin-bottom:0"><font size="2"><span
              style="font-size:11pt;"><br>
            </span></font></p>
        <p style="margin-top:0;margin-bottom:0"><font size="2"><span
              style="font-size:11pt;">Edward</span></font></p>
        <p style="margin-top:0;margin-bottom:0"><br>
        </p>
      </div>
      <!--'"--><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>