[GRASS-user] v.rast.stats (r.category) fail?

Markus Neteler neteler at osgeo.org
Fri Dec 9 12:49:08 EST 2011

Hi Annalisa,

On Fri, Dec 9, 2011 at 6:22 PM, Annalisa Minelli <annagrass6 at gmail.com> wrote:
> Hi all,
> I'm experiencing some problems with v.rast.stats and (I suppose) v.category.
> I have a lines vector file and I want to obtain some statistics on each
> feature.
> I try to use the module but it soon exits with the message:
> v.rast.stats vector=ord1_pl_3d_cat raster=dem colprefix=stats percentile=90
> --verbose -c
> ERROR: No categories found in raster map
> evenif I have some feature (with categories and "cat" column too on
> associated dbf) in my file.

could you please tell us
- which operating system
- which GRASS version

> Then I tried r.category by itself and I discovered that sometimes it works
> but sometimes not.
> Align region on input raster map doesn't affect the result.
> Any hint?

If possible, please send a North Carolina data set example for easy


More information about the grass-user mailing list