[GRASS-windows] Problem with v.rast.stats
Marco Pasetti
marcopstt at gmail.com
Tue Aug 19 05:22:10 EDT 2008
Hi Gonzalo,
>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:
>C:/GRASS/scripts/v.rast.stats: r.cats: command not found
r.cats has been replaced by r.category in GRASS 6.3.0
it seems that v.rast.stats has not been updated accordingly to the changes
in 6.3.0
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
Regards,
Marco
More information about the grass-windows
mailing list