Re: [QGIS-Developer] Provide a max. legend size in case of map unit sized symbols

2019-02-20 Thread David Signer
I can confirm that there is no issue on print layout. I have been wrong because if there is not yet a map added, it displays the symbols in max size - what is not an issue since one don't need a legend without map. So I'll check out the solution with scale as request parameter and the default s

Re: [QGIS-Developer] Provide a max. legend size in case of map unit sized symbols

2019-02-20 Thread David Signer
Hi Nyall I think, you're right. If there's no max size defined (enabled) on the GetLegendGraphics, it responds with memory error (so possibly because the size gets infinite because of zero scale). I thought that it has been the issue in the print layout as well, but I'm not sure anymore

Re: [QGIS-Developer] Provide a max. legend size in case of map unit sized symbols

2019-02-19 Thread Nyall Dawson
On Tue, 19 Feb 2019 at 19:03, David Signer wrote: > > Hi there > > I'm struggling with the following issue https://issues.qgis.org/issues/21309 > summarized like this: > When using map units as symbol size and having a max value in mm, this value > is always taken in the GetLegendGraphics reques

Re: [QGIS-Developer] Provide a max. legend size in case of map unit sized symbols

2019-02-19 Thread David Signer
Thanks for your feedback, Régis. So you propose to have all the symbols of the layer in the legend the same size, if one of them reaches the maximum size? Means, that some could even be "scaled up" in the end (because they would be smaller otherwise), correct? I understand the approach but

Re: [QGIS-Developer] Provide a max. legend size in case of map unit sized symbols

2019-02-19 Thread Régis Haubourg
Hi David, >From a user point of view, using both desktop and server, I would go to the second option with a configuration setting. 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

[QGIS-Developer] Provide a max. legend size in case of map unit sized symbols

2019-02-19 Thread David Signer
Hi there I'm struggling with the following issue  [https://issues.qgis.org/issues/21309](https://issues.qgis.org/issues/21309)  summarized like this: *When using map units as symbol size and having a max value in mm, this value is always taken in the **GetLegendGraphics** request with QGIS