<div>Hello.</div>
<div>&nbsp;</div>
<div>I have a lot of polygons in a vector layer and a DTM (raster). I want to know the maximum, minimum and mean height (of the DTM) for each polygon. I&#39;m trying to use the command <strong>v.rast.stats</strong> (update areas attributes from raster). It starts working but at the end shows the next message:</div>

<div>&nbsp;</div>
<div>
<p>C:/GRASS/scripts/v.rast.stats: <strong>r.cats</strong>: command not found</p>
<p>No categories found in raster map.</p>
<p>&nbsp;</p>
<p>If I run &quot;r.cats help&quot;, the program says that this module has been replaced by <strong>r.category</strong></p>
<p>I&#39;m using GRASS6.3.0 for windows.</p>
<p>How can I solve this problem?</p>
<p>Thank you.</p>
<p>Gonzalo Moreno.</p></div>