<div>Hi Marco.</div>
<div> </div>
<div>Thanks for your answer back.</div>
<div> </div>
<div>I've done this modification and now it seems that is running well (but the vector layer has more than 1500 polygons and I think I have to wait).</div>
<div> </div>
<div>Regards.</div>
<div> </div>
<div>Gonzalo.<br><br> </div>
<div><span class="gmail_quote">2008/8/19, Marco Pasetti <<a href="mailto:marcopstt@gmail.com">marcopstt@gmail.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Gonzalo,<span class="q"><br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">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'm trying to use the command >v.rast.stats (update areas attributes from >raster). It starts working but at the end shows the next message:<br>
C:/GRASS/scripts/v.rast.stats: r.cats: command not found<br></blockquote><br></span>r.cats has been replaced by r.category in GRASS 6.3.0<br>it seems that v.rast.stats has not been updated accordingly to the changes in 6.3.0<br>
to fix it you need to open C:/GRASS/scripts/v.rast.stats and replace every instance of r.cats (I suppose only 1) with r.category<br><br>Regards,<br><span class="sg"><br>Marco <br></span></blockquote></div><br>