I have a single band grey shade tiff image which does not have a a color palette associated with it. I need to open up the symbology and assign a color to each unique landcover class.
I am looking for where I can read up on the "how to's" of opening symbology and adding a color palette to display each classification type in a unique color.
I am using QGIS version 2.18.17
I have attempted to use some of the hints in the QGIS documentation (esp. Section 8.2 on rasters) -- however going to the screen for Properties\Style\Band rendering and selecting "singleband pseudocolor" in the drop down menu does not get me where I need to be. My data set is has 17 types of land cover in the classification so ideally I want to create a legend with a color for each cover type. I think that I want to use the Properties\Style\band rendering drop down menu option "paletted" but selecting this screen offers me no options to create or modify the layer's legend? It's a dead end.
It seems like one solution might be to go to Properties\Style\Band rendering\singleband psuedocolor and then in the bottom drop down box "Mode"choose "equal interval" This then allows you to add additional classes to the legend. After that you can pick the colors you want for each class and then I guess go to the "Style" drop down menu at the bottom of the page an "save as"?
And you can also fill in the legend "labels" for the cover classes (e.g.,"grasslands") by entering it in the "label unit suffix" box. Once you make an enter there you can manually edit the rest of the land cover classification names "deciduous forest" etc. I still do not think this is the "right" way to do this but you do end up with a legend that can be saved as a .qml file that seems to work when you load it on the data set. The reason I do not think it is the right way to do it is that "Legend" and "palette" images do not show up alongside of the "thumbnail" image at the bottom of the Properties\Style\Band rendering page. So it works in a pinch but maybe someone who has been working with QGIS more than my two days will come along and explain how to do it right!