<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF">
I guess what you are referring to is that in ArcGIS you can link
attribute tables to rasters, and subsequently use any column to
define the legend. There have been feature requests for this in
QGIS, but it has not been implemented yet as far as I know.<br>
<br>
It is however fairly easy to define the legend (color and labels)
for a raster using a QGIS colour file. This is a simple comma
delimited value (csv) file with raster id, R, G, B color values and
label. One option is to have an spreadsheet with your attribute
tables and generate the color files text file, which you can then
load in QGIS, as described here
(<a class="moz-txt-link-freetext" href="https://pvanb.wordpress.com/2014/02/05/creating-a-qgis-color-map-from-text-file/">https://pvanb.wordpress.com/2014/02/05/creating-a-qgis-color-map-from-text-file/</a>).
Obviously you can achieve the same using different tools, e..g, R.<br>
<br>
Regards<br>
<br>
Paulo<br>
<br>
<div class="moz-cite-prefix">On 30-10-15 01:02, Inna Nogeste wrote:<br>
</div>
<blockquote
cite="mid:b03e76b40a9e468a896c5791617144ae@iss-exch13-01.bom.gov.au"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle25
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle26
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks Damien,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">For the
purposes of the product that I'm working on the preference
is for the data to be maintained as a raster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I've been using
QGIS to test cartographic design and Map Server export
(plugin) functionalities. It's worked fine for the data I've
been given and what I've wanted to achieve except for the
land use raster. I've needed to use ArcMap for the landuse
raster data.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The MapServer
plugin isn't working in QGIS 2.10 Pisa but was working in
QGIS 2.8.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Inna<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">(I've removed
your screen grab from an earlier email as I keep on getting
messages saying that this message is too big for this
listing so don’t know if any of the QGIS developers have
seen this query).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-AU"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-AU"
lang="EN-US"> Damien Stephens
[<a class="moz-txt-link-freetext" href="mailto:Damien.Stephens@sandfire.com.au">mailto:Damien.Stephens@sandfire.com.au</a>] <br>
<b>Sent:</b> Wednesday, 28 October 2015 6:18 PM<br>
<b>To:</b> Inna Nogeste<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
<b>Subject:</b> RE: QGIS- How to render a raster using a
field other than Value [SEC=UNCLASSIFIED]<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">At this point
my only suggestion is to convert the raster to polygons.
Hopefully the text is maintained.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Could you send
a clipped version of the raster to confirm?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">damien<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="mso-fareast-language:EN-AU" lang="EN-US">From:</span></b><span
style="mso-fareast-language:EN-AU" lang="EN-US"> Inna
Nogeste
<a moz-do-not-send="true"
href="mailto:[mailto:I.Nogeste@bom.gov.au]">[mailto:I.Nogeste@bom.gov.au]</a>
<br>
<b>Sent:</b> Wednesday, 28 October 2015 2:29 PM<br>
<b>To:</b> Damien Stephens; <a moz-do-not-send="true"
href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
<b>Subject:</b> RE: QGIS- How to render a raster using a
field other than Value [SEC=UNCLASSIFIED]<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks for the
suggestion. I've looked at it. Band = Band 1 (Gray) and
there is no option to select a field or even input Values.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">It would be
good if QGIS could have the option of selecting a field to
symbolise as this would be useful in raster data such as
land use.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;mso-add-space:auto"><span
style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#1F497D;mso-fareast-language:EN-AU"
lang="EN-US">Inna</span><span
style="font-size:9.0pt;color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-AU"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-AU"
lang="EN-US"> Damien Stephens [<a moz-do-not-send="true"
href="mailto:Damien.Stephens@sandfire.com.au">mailto:Damien.Stephens@sandfire.com.au</a>]
<br>
<b>Sent:</b> Tuesday, 27 October 2015 12:08 PM<br>
<b>To:</b> Inna Nogeste; <a moz-do-not-send="true"
href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
<b>Subject:</b> RE: QGIS- How to render a raster using a
field other than Value [SEC=UNCLASSIFIED]<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Ah ok the text
field may cause a problem.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I don’t have
any rasters with text values to test. What happens when you
try the paletted render type with text in the band
rendering tab on the layer properties dialogue?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Damien<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="mso-fareast-language:EN-AU" lang="EN-US">From:</span></b><span
style="mso-fareast-language:EN-AU" lang="EN-US"> Inna
Nogeste
<a moz-do-not-send="true"
href="mailto:[mailto:I.Nogeste@bom.gov.au]">[mailto:I.Nogeste@bom.gov.au]</a>
<br>
<b>Sent:</b> Tuesday, 27 October 2015 7:34 AM<br>
<b>To:</b> Damien Stephens; <a moz-do-not-send="true"
href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
<b>Subject:</b> RE: QGIS- How to render a raster using a
field other than Value [SEC=UNCLASSIFIED]<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hi Damien,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks for your
reply. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I am working
with land use raster data which only has 1 band.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The values in
the Value field have been attributed to a landuse (as a text
attribute) in a newly created field which is what I want
symbolise. In ESRI ArcMap, I can select whatever Value Field
I want from a drop down list of fields in the raster data.
It would be good to have a similar function in QGIS.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;mso-add-space:auto"><span
style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#1F497D;mso-fareast-language:EN-AU"
lang="EN-US">Inna</span><span
style="font-size:9.0pt;color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-AU"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-AU"
lang="EN-US"> Damien Stephens <a moz-do-not-send="true"
href="mailto:[mailto:Damien.Stephens@sandfire.com.au]">[mailto:Damien.Stephens@sandfire.com.au]</a>
<br>
<b>Sent:</b> Wednesday, 14 October 2015 6:37 PM<br>
<b>To:</b> Inna Nogeste; <a moz-do-not-send="true"
href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
<b>Subject:</b> RE: QGIS- How to render a raster using a
field other than Value [SEC=UNCLASSIFIED]<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">If your raster
has more than one value field (band) it should be pretty
simple. The band rendering tab on the layer properties
dialog lets you chose the band to colour.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">In the attached
screen grab I have chosen band 1 using a singleband
pseudocolour render.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Hope that
helps.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="mso-fareast-language:EN-AU" lang="EN-US">From:</span></b><span
style="mso-fareast-language:EN-AU" lang="EN-US">
Qgis-user
<a moz-do-not-send="true"
href="mailto:[mailto:qgis-user-bounces@lists.osgeo.org]">[mailto:qgis-user-bounces@lists.osgeo.org]</a>
<b>On Behalf Of </b>Inna Nogeste<br>
<b>Sent:</b> Wednesday, 14 October 2015 2:13 PM<br>
<b>To:</b> <a moz-do-not-send="true"
href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
<b>Subject:</b> [Qgis-user] QGIS- How to render a raster
using a field other than Value [SEC=UNCLASSIFIED]<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I would like to render my raster using a
field that is not the Value field. Is it possible to do this
in QGIS? This is easily done in ESRI ArcMap.<o:p></o:p></p>
<p class="MsoNormal">I have access to both QGIS 2.10 and QGIS
2.8.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;mso-add-space:auto"><span
style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-AU"
lang="EN-US">Regards,</span><span
style="font-size:9.0pt;font-family:"Times New
Roman","serif";color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;mso-add-space:auto"><span
style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-AU"
lang="EN-US">Inna Nogeste </span><span
style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-AU"
lang="EN-US">| Spatial Information Specialist<o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;mso-add-space:auto"><span
style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-AU">Environmental
Information Management</span><span
style="font-size:9.0pt;font-family:"Times New
Roman","serif";color:#1F497D;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"
style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;mso-add-space:auto"><span
style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-AU">Data
Management<br>
Geospatial Data and Access Unit</span><span
style="font-size:9.0pt;color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
<p class="MsoNormalCxSpLast"
style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;mso-add-space:auto"><span
style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-AU">Bureau
of Meteorology<br>
</span><span
style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:EN-AU"
lang="EN-GB"><a moz-do-not-send="true"
href="http://www.bom.gov.au/"><span
style="color:black;text-decoration:none">www.bom.gov.au</span></a></span><span
style="font-size:9.0pt;color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
</body>
</html>