<HTML>
<HEAD>
<TITLE>Re: [GRASS-user] creating categories for rescale to 0-255</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Carlos,<BR>
<BR>
This is easy in GRASS with r.recode.<BR>
<BR>
The syntax would be...<BR>
<BR>
oldlow:oldhigh:0:255<BR>
<BR>
I just did a new interface to r.recode in the GUI that should let you do this interactively. One problem, however, is that this depends on changes to r.recode made a couple days ago and it is not working correctly on my Mac. It may just need a recompile and I plan to test today. If there is still a problem, I'm sure it can be fixed and, in the meantime you can do it the original way (as described in the r.recode docs).<BR>
<BR>
Michael<BR>
<BR>
<BR>
On 6/27/07 7:35 AM, &quot;Carlos &quot;Gu&acirc;no&quot; Grohmann&quot; &lt;carlos.grohmann@gmail.com&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Any quick way to create 256 categories for a raster map? so I can rescale it to 0-255?<BR>
<BR>
thanks<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
Director of Graduate Studies<BR>
School of Human Evolution &amp; Social Change &nbsp;&nbsp;&nbsp;<BR>
Center for Social Dynamics &amp; Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>