<div dir="ltr">Martin,<div>The link that Alessandro provided was indeed the ability to revert back to the previous discrete method. <a href="https://github.com/qgis/QGIS/pull/42193">https://github.com/qgis/QGIS/pull/42193</a></div><div>As the pull request has a Backport 3.18 flag on it I assume that that means that for the 3.18.1 release next week there should be the ability to turn off continuous raster legend!</div><div>-Bas</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 12, 2021 at 6:30 AM Martin Bittens <<a href="mailto:martin.bittens@gmx.de">martin.bittens@gmx.de</a>> wrote:<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>
<p>Hello Sebastian,</p>
<p>thank you for your response. Yes indeed, for me the coloring
style you showed would be an option. This style is what I get in
GRASS GIS as well. But😁,</p>
<p>what I would prefer in QGIS is this (as provided by QGIS 3.16.4
LTR):</p>
<p><img src="cid:178275625e4e3998f9f1" alt="" width="62" height="178"></p>
<p><br>
</p>
<p>So I hope that in future QGIS versions, the user will have the
choice between the different display options. As far as I
understood the discussions in the links you sent there is
something going on in order to add an option for selecting the
new or the old display style. Unfortunately, I am not an expert
in that programming stuff and therefore I don't know how to apply
what there is explained. I will wait and see what the next QGIS
versions offer for displaying raster gradient legends. And I will
keep the QGIS 3.16.4 LTR with special care not loosing the display
style I showed above.</p>
<p><br>
</p>
<p>Regards</p>
<p><br>
</p>
<p>Martin</p>
<p><br>
</p>
<div>Am 3/10/2021 um 5:54 PM schrieb
Sebastian Gutwein:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Martin,
<div>I agree with your assessment. </div>
<div>I assume the assumption of the designers (thank you Nyall
Dawson et al for all of your amazing work) was that if you
were displaying a continuous raster you would want a
continuous legend as well. </div>
<div>As shown by your issue and in the links I shared with you
the reality is that this doesn't fit all use cases. </div>
<div>I am considering writing up a feature request to address
those issues. Unless you want to? </div>
<div>To help me understand your use case more would a legend
that was continuous but had numerical values at each "break"
work for you? An example of this is in this tutorial <a href="https://www.ecodiv.earth/post/legend-for-continuous-raster-in-qgis-composer/" target="_blank">https://www.ecodiv.earth/post/legend-for-continuous-raster-in-qgis-composer/</a></div>
<img src="cid:178275625e6cb971f162" alt="image.png" style="margin-right: 0px;" width="41" height="87"><br>
<div><br>
</div>
<div>-Bas</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Mar 10, 2021 at 2:34
PM Martin Bittens <<a href="mailto:martin.bittens@gmx.de" target="_blank">martin.bittens@gmx.de</a>> wrote:<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>
<p>Sebastian, Bernd,</p>
<p>thanks a lot for your response. I checked the links
Sebastian sent. As far as I could see displaying data in
the legend as a continuum is a new feature in QGIS 3.18
which replaced the previous method displaying data in the
legend as categories (as QGIS 3.16.4 is still doing -
fortunately. Otherwise it would be difficult producing
maps in ongoing projects in a consistent layout). And
obviously there is no option available switching between
the old and the new display method. Personally I think it
was not a good decision giving up completely the
categorical display in the legend. In particular if you
would work with multiple colors and a large range of
values, there is no way to allocate map colors to the
corresponding values, or vice versa.</p>
<p>So, I hope that the next QGIS version will include an
option which allows selecting the method how to display
the data, as continuum or categorized.</p>
<p><br>
</p>
<p>Regards<br>
</p>
<p>Martin<br>
</p>
<p><br>
</p>
<div>Am 3/9/2021 um 4:18 PM schrieb Sebastian Gutwein:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Martin,
<div>I think this may be the result of the new feature <a href="https://qgis.org/en/site/forusers/visualchangelog318/#feature-gradient-ramp-based-legends" target="_blank">https://qgis.org/en/site/forusers/visualchangelog318/#feature-gradient-ramp-based-legends</a></div>
<div>Which is exciting for me becasue that is how I
would like to have my continious data display. But it
sounds like that is not what you are interested in. I
have not tried 3.18 myself so don't know if there is a
workaround. </div>
<div>It does look like there are some links to
discussions in the comments of this stack exchange
question. <a href="http://gis.stackexchange.com/questions/388843/qgis-3-18-override-raster-gradient-legends" target="_blank">gis.stackexchange.com/questions/388843/qgis-3-18-override-raster-gradient-legends</a></div>
<div><a href="http://gis.stackexchange.com/questions/388154/how-to-get-back-discrete-raster-legend-symbols-in-qgis-3-16" target="_blank">gis.stackexchange.com/questions/388154/how-to-get-back-discrete-raster-legend-symbols-in-qgis-3-16</a><br>
</div>
<div><a href="http://twitter.com/ThomasG77/status/1365255399927140355" target="_blank">twitter.com/ThomasG77/status/1365255399927140355</a><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Mar 9, 2021 at
7:54 AM Bernd Vogelgesang <<a href="mailto:bernd.vogelgesang@gmx.de" target="_blank">bernd.vogelgesang@gmx.de</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Without testing I
would say it's a bug. Quite some bugs went into 3.18<br>
unnoticed and unfortunately, it's not communicated on
the landing page.<br>
Next regular point release will be in 10 days, but for
urgent stuff, you<br>
should better use 3.16.<br>
<br>
<br>
On 09.03.21 13:32, Martin Bittens wrot:<br>
> Hello QGIS User List, i<br>
><br>
> I already sent this message but it was not
posted, so it is here again.<br>
> Hopefully it works now.<br>
><br>
><br>
> I am still struggling with the problem creating a
legend for a raster<br>
> layer. Usually I am working with the following
settings in order to<br>
> colorize a calculated raster layer (e.g. after
applying v.surf.idw on a<br>
> point data set):<br>
><br>
> - rendering type: singleband pseudocolor<br>
><br>
> - interpolation: linear<br>
><br>
> - mode: equal interval<br>
><br>
><br>
> In QGIS 3.18.0:<br>
><br>
> Selecting an appropriate color ramp and applying
a classification in,<br>
> e.g., 5 classes, I see in the "Layer Properties -
Symbology" window the<br>
> 5 colored classes separately and the
corresponding 5 values (in my case<br>
> temperatures) for each color coding. But in the
"Layer Panel" the legend<br>
> shows the color coding as a continuum and only
the first and last value<br>
> of the value range appears. The same thing
happens in the layout manager<br>
> when I create a layout for printing which
includes a legend.<br>
><br>
> In QGIS 3.16.4 LTR and previous versions:<br>
><br>
> Doing the same I get the 5 color classes
separately and the<br>
> corresponding values for each of the 5 classes in
the "Legend Panel"as<br>
> well as in the layout manger.<br>
><br>
><br>
> My question: Is this a bug in the new QGIS
version or does QGIS 3.18 not<br>
> provide this functionality anymore?<br>
><br>
><br>
> Thanks a lot for a comment.<br>
><br>
><br>
> Regards<br>
><br>
><br>
> Martin<br>
><br>
><br>
><br>
> --<br>
> This email has been checked for viruses by Avast
antivirus software.<br>
> <a href="https://www.avast.com/antivirus" rel="noreferrer" target="_blank">https://www.avast.com/antivirus</a><br>
><br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote>
</div>
</blockquote>
<div id="gmail-m_-6080608085260119138gmail-m_726336712862281711DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid rgb(211,212,222)">
<tbody>
<tr>
<td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon" target="_blank"><img alt="" style="width: 46px; height: 29px;" width="46" height="29"></a></td>
<td style="width:470px;padding-top:12px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free.
<a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link" style="color:rgb(68,83,234)" target="_blank">www.avast.com</a> </td>
</tr>
</tbody>
</table>
<a href="#m_-6080608085260119138_m_726336712862281711_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote></div>