<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi everyone!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I have a QGIS Server running. Requesting the legend of a layer works fine as explained in the docs:
</span><a href="https://docs.qgis.org/3.28/en/docs/server_manual/services/wms.html#getlegendgraphics"><span lang="EN-US">3.2. Web Map Service (WMS) — QGIS Documentation documentation</span></a><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">However, I noticed that in QGIS Server the request must be called “GetLegendGraphics” with a trailing “s”, whereas GeoServer (</span><a href="https://docs.geoserver.org/latest/en/user/services/wms/get_legend_graphic/index.html"><span lang="EN-US">GetLegendGraphic
 — GeoServer 2.25.x User Manual</span></a><span lang="EN-US">), MapServer (</span><a href="https://mapserver.org/de/ogc/wms_server.html#getlegendgraphic-request"><span lang="EN-US">WMS Server — MapServer 8.0.1 documentation</span></a><span lang="EN-US">), deegree
 and OpenLayers (</span><a href="https://openlayers.org/en/latest/apidoc/module-ol_source_ImageWMS-ImageWMS.html#getLegendUrl"><span lang="EN-US">OpenLayers v8.1.0 API - Class: ImageWMS</span></a><span lang="EN-US">) expect the request to be called “GetLegendGraphic”
 WITHOUT the trailing “s”. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Is there a reason why QGIS Server provides legends differently compared to other established geospatial software?<br>
<br>
Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jakob<o:p></o:p></span></p>
</div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-width: medium; border-style: none; border-color: initial; font-family: Helvetica; width: 660px;"><tbody><tr style="height: 79.15pt;"><td class="" valign="bottom" width="150" data-preserved-background-color="null" style="height: 79.15pt; width: 183.9pt;"><p class="MsoNormal" style="margin-bottom: 0pt; font-size: 10pt; line-height: normal;"><a id="_Hlk528656578" name="_Hlk528656578"><span style="font-size: 10.5pt;"></span></a> <br> <img src="cid:siticom-logo-blue-final-black-a-logicalis-company_bc243344-6a69-4e78-9078-76e88dbcc994.png" border="0" id="0.veaxdfz7gks" style="font-size: 1rem; width: 198px; height: 91px; aspect-ratio: 198 / 91;" width="198" height="91"><br></p><p class="MsoNormal" style="margin-bottom: 0pt; font-size: 10pt; line-height: normal;"><span style="font-size: 8pt;"></span></p><span style="font-size: 10.5pt;"></span><span style="font-size: 10pt;"><span style="font-size: 10pt;"></span><span style="font-size: 10pt;"></span></span></td><td class="" valign="middle" width="531" data-preserved-background-color="null" style="height: 79.15pt; width: 397.9pt; text-align: left;"><p class="MsoNormal" style="margin: 0cm 0cm 0pt 3.65pt; font-size: 10pt; line-height: normal;"><span style="font-size: 10pt;"><span style="font-weight: bolder; font-size: 10pt;"><span style="font-size: 10pt; color: rgb(0, 159, 227);"><span style="color: rgb(3, 151, 255);"><span style="font-size: 11pt;">Jakob Miksch</span></span></span></span></span><span style="font-size: 10pt;"><span style="font-size: 10pt;"><span style="color: rgb(3, 151, 255);"><span style="font-size: 11pt;"><br style="font-size: 11pt;"></span></span></span></span><span style="font-size: 10pt;"><span style="font-weight: bolder;"><font color="#000000" style="font-size: 10pt;">Consultant</font><br style="font-size: 10pt;"></span><br style="font-size: 10pt;"></span><span style="font-size: 13.3333px;">+49 170 9036956<br><font color="#00B0F0"><span style="font-size: 10pt; color: rgb(0, 0, 0);">siticom.online</span></font></span></p></td></tr><tr style="height: 36.05pt;"><td class="" colspan="1" valign="bottom" width="776" data-preserved-background-color="null" style="height: 36.05pt; width: 183.9pt; padding: 0cm 5.4pt;"><p class="MsoHeader" style="font-size: 8pt; text-align: justify;"><span style="font-size: 8pt;"><span style="font-size: 8pt; color: rgb(0, 176, 240);"><br><br></span></span></p></td><td class="" data-preserved-background-color="null" style="padding: 0px 0px 0px 5px; line-height: 1;"><span style="font-size: 6pt;">siticom GmbH &#x2022; Werner-von-Siemens-Stra&#xDF;e 2-6 &#x2022; 76646 Bruchsal &#x2022; Deutschland<br>Gesch&#xE4;ftsf&#xFC;hrer: J&#xFC;rgen Hatzipantelis, Stefan H&#xF6;ltken<br>Sitz der Gesellschaft: Weiterstadt &#x2022; Amtsgericht Darmstadt &#x2022; HRB 9276<br>Umsatzsteuer-ID Nr.: DE 197 925 589</span></td></tr></tbody></table><p><br></p>


<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><span style="FONT-FAMILY: Arial"><span style="FONT-FAMILY: Arial">
<div class="WordSection1" style="FONT-FAMILY: Arial">
<span style="FONT-FAMILY: Arial; mso-bookmark: _Hlk528656578">
    <p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p></span></div></span></span></span></body>
</html>