<br><br><div class="gmail_quote">On Fri, Jul 1, 2011 at 3:18 PM, Luisa Peņa <span dir="ltr">&lt;<a href="mailto:luisapena1979@gmail.com">luisapena1979@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Rainer  (back to ML)<div><div class="im"><br>I have a classification procedure that produces land-use/cover maps with numerical classes between 1 and 5.<br></div><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="gmail_quote"><div><div><br></div></div><div>Ok - that seems to be fine.</div><div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Then I want to produce another map, but with text labels for each class. </blockquote><div><br></div></div><div>You have done this with r.reclass</div></div></blockquote></div><div>That&#39;s right. When I select a pixel I get something like this | coordinateX | CoordinateY ||1 | URban|</div>
<div class="im">
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


And be able to export this raster with its labels.</blockquote><div>As a map? </div></div><div>Because in grass, you can not create a raster with non-numeric values, unless they are labels, and the cell values are numeric. If you want to have the labels in a legend, that is a different issue. I do not know if any export format supports the export of labels as well.</div>


<div><br></div></div></blockquote><div><br></div></div><div>Uhm. If this is not possible, how can I export a raster map with labels in a legend?</div></div></div></blockquote><div><br></div><div>Check the ps.map command in grass to create maps - you will be able to create a map with legend using the labels and export it as postsript file.</div>
<div><br></div><div>Rianer</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="gmail_quote"><div><br></div><div>Thank you so much</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br><br>Centre of Excellence for Invasion Biology<br>Stellenbosch University<br>
South Africa<br><br>Tel :       +33 - (0)9 53 10 27 44<br>Cell:       +33 - (0)6 85 62 59 98<br>Fax (F):       +33 - (0)9 58 10 27 44<br><br>Fax (D):    +49 - (0)3 21 21 25 22 44<br><br>email:      <a href="mailto:Rainer@krugs.de" target="_blank">Rainer@krugs.de</a><br>
<br>Skype:      RMkrug<br><br>