Hi Rainer (back to ML)<div><br>I have a classification procedure that produces land-use/cover maps with numerical classes between 1 and 5.<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im"><div><br></div></div><div>Ok - that seems to be fine.</div><div class="im"><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>That's right. When I select a pixel I get something like this | coordinateX | CoordinateY ||1 | URban|</div>
<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 class="im"><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>Uhm. If this is not possible, how can I export a raster map with labels in a legend?</div><div><br></div><div>Thank you so much</div></div></div>