<div dir="ltr"><div>Hi David, <br></div><div>From a user point of view, using both desktop and server, I would go to the second option with a configuration setting. <br></div><div>I think it should apply to all the classes of a layer, as soon as one of the class symbols reaches max size, just don't scale any of the symbols in the legend. This way you won't have a wrong legend, with some classes still being scaled and bigger classes fixed. <br></div><div>Thanks for tackling this, it's a real issue for most users. <br></div><div>Best regards<br></div><div>Régis<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 19 févr. 2019 à 10:03, David Signer <<a href="mailto:david@opengis.ch">david@opengis.ch</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi there<br></div><div><br></div><div>I'm struggling with the following issue <a href="https://issues.qgis.org/issues/21309" target="_blank">https://issues.qgis.org/issues/21309</a> summarized like this:<br></div><div><i>When using map units as symbol size and having a max value in mm, this value is always taken in the <b>GetLegendGraphics</b> request with QGIS Server, what leads to huge symbols there (same in legend of print layout).</i><br></div><div><br></div><div>I think it's not always needed to adapt the exact size to the legend.<br></div><div>So I see three approaches:<br></div><div>- Don't adapt the size to the legend at all<br></div><div>- Provide a configuration "Maximum size for legend"</div><div>- Provide a max size property for the server (does not solve it for print composer)<br></div><div><br></div><div>Where I would prefer the "Maximum size for legend" configuration.<br></div><div><br></div><div>What do you think?<br></div><div><br></div><div>Thanks<br></div><div>Dave</div><div id="gmail-m_-19524112055813219editorUserSignature"><p> <br></p><div class="gmail-m_-19524112055813219moz-signature"><div class="gmail-m_-19524112055813219moz-signature"><div><span class="gmail-m_-19524112055813219colour" style="color:rgb(0,0,0)"><span class="gmail-m_-19524112055813219font" style="font-family:Verdana,sans-serif"><span class="gmail-m_-19524112055813219size" style="font-size:10pt">David Signer</span></span></span><br></div><div> <a href="mailto:david@opengis.ch" rel="noopener noreferrer" target="_blank"> <span class="gmail-m_-19524112055813219colour" style="color:rgb(0,0,0)"><span class="gmail-m_-19524112055813219font" style="font-family:Verdana,sans-serif"><span class="gmail-m_-19524112055813219size" style="font-size:8pt">david@opengis.ch</span></span></span> </a><br></div><div> <span class="gmail-m_-19524112055813219colour" style="color:rgb(0,0,0)"><span class="gmail-m_-19524112055813219font" style="font-family:Verdana,sans-serif"><span class="gmail-m_-19524112055813219size" style="font-size:8pt"><a href="tel:+41787661303" target="_blank">+41 (0)78 766 13 03</a></span></span></span> <br></div><div><a href="http://www.opengis.ch" target="_blank"><img alt="OPENGIS.ch Logo" width="200" height="80"></a><br></div></div></div><div><br></div></div><div><br></div>_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>