<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body DEFANGED_STYLE="font-size:12pt;font-family:Arial">
The examples from the online man pages are pretty staight foward.
<p>It would look like this:
<p>r.reclass input=r_input&nbsp; output=r_output
<br>{dialog}
<br>0 thru 100 = 2 junk
<br>101 = 1 keep
<br>102 thru 119 = 2 junk
<br>120 = 1 keep
<br>121 thru 139 = 2 junk
<br>140 = 1 keep
<br>141 thru 999 = 2 junk
<br>end
<p>regards,
<p>Al
<p>Olivier Faber wrote:
<blockquote TYPE=CITE>&nbsp;
<p>dear list
<p>I have a shape file with some 200 classes. I want to create only 2 classes
out of it. For example class 120,101,140 etc. become cat1 and the&nbsp;<span DEFANGED_STYLE="font-weight:600">rest</span>
cat2
<p>I wrote a script:
<p>cat 1
<p>where CNT_ATT=140
<p>cat 1
<p>where CNT_ATT=101
<p>cat 2
<p>where CNT_ATT=200
<p>(CNT_ATT is the column with categories)
<p>I do not want to write 200 times the same command, and values separated
by comma or blank doesn't work.
<p>Any ideas?</blockquote>

</body>
</html>