[GRASS-windows] Problem with v.rast.stats

Gonzalo Moreno gmorenovergara at gmail.com
Tue Aug 19 06:17:24 EDT 2008


Hi Marco.

Thanks for your answer back.

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).

Regards.

Gonzalo.


2008/8/19, Marco Pasetti <marcopstt en gmail.com>:
>
> 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
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://lists.osgeo.org/pipermail/grass-windows/attachments/20080819/4f75f57b/attachment.html


More information about the grass-windows mailing list