Hi<div><br></div><div>let me move here a request that has been shortly discussed on the user-mailing list:</div><div><div><a href="http://lists.osgeo.org/pipermail/qgis-user/2017-January/038793.html">http://lists.osgeo.org/pipermail/qgis-user/2017-January/038793.html</a></div><div><a href="http://lists.osgeo.org/pipermail/qgis-user/2017-January/038795.html">http://lists.osgeo.org/pipermail/qgis-user/2017-January/038795.html</a></div><div><a href="http://lists.osgeo.org/pipermail/qgis-user/2017-January/038801.html">http://lists.osgeo.org/pipermail/qgis-user/2017-January/038801.html</a></div></div><div><br></div><div>and for which a ticket is open:</div><div><a href="http://hub.qgis.org/issues/14845">http://hub.qgis.org/issues/14845</a></div><div><br></div><div>I was said that some work has been done in this direction for 3.0 but I don't know if it completely covers the feature request</div><div><br></div><div>----------------------</div><div><br></div><div><div>When styling a discrete or boolean raster, there seems to be no direct method, only a few workarounds. The feature I dream of would do the following:</div><div><ul><li>A new render type "Discrete raster"</li><li>One button allows to fetch all unique values form the raster (with a warning message if there are more than XXX unique values)</li><li>A color ramp is applied by default</li><li>I can multi-select values and apply them the same style and / or the same label</li><li>I can remove values. The pixels with those values will simply not be displayed</li><li>I can save my color map and load an existing color map</li></ul><div>So pretty much like the ArcGIS implementation: <a href="http://resources.arcgis.com/en/help/main/10.1/index.html#/representing_unique_categories_such_as_land_use/009t00000074000000/">http://resources.arcgis.com/en/help/main/10.1/index.html#/representing_unique_categories_such_as_land_use/009t00000074000000/</a></div></div><div><br></div><div>The current limitations I see (in 2.14):</div><div><ul><li>The discrete values must be entered manually, which is a pain for a raster with many unique values (or if I don't know in advance what all values are)</li><li>If I click on <b>Classify</b>, QGIS will choose X values (based on the number of classes and the classification method (continuous or equal interval)), which no longer match the "exact" values of my raster. It doesn't really make sense to classify a discrete rendering</li><li>Although it is currently possible to style discrete rasters, the procedure is not really intuitive for beginners</li></ul></div><div>----------------------</div><div><br></div><div>Is this a feature that is envisioned for 3.0? Is there anything I can do to support it? (except coding it myself, since I don't have the skills for that...)</div><div><br></div><div>Thanks a lot in advance</div></div><div><br></div><div>Cheers</div><div><br></div><div>Stéphane</div><br><br>-- <br><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><div><div dir="ltr"><div><div dir="ltr"><br></div><div dir="ltr">"Le mot progrès n'aura aucun sens tant qu'il y aura des enfants malheureux" -- Albert Einstein<br><br>"Si les contacts avec les étrangers lui étaient permis, [le citoyen
ordinaire] découvrirait que ce sont des créatures semblables à lui-même
et que la plus grande partie de ce qu'on lui a raconté d'eux est fausse.
Le monde fermé, scellé, dans lequel il vit, serait brisé, et la
crainte, la haine, la certitude de son bon droit, desquelles dépend sa
morale, pourraient disparaître" -- George Orwell ("1984")<br><br>“When you travel, remember that a foreign country is not designed to
make you comfortable. It is designed to make its own people
comfortable." -- Clifton Fadiman<br><br>Photos de voyages, photos de montagne: <a href="http://www.henriod.info/" target="_blank">http://www.henriod.info</a><span dir="ltr"><span dir="ltr" title="Appeler ce numéro de téléphone en/au(x) Tadjikistan avec Skype : +992934624662"><span> </span></span> <br></span></div></div></div></div></span></div></div></div></div></div><br>