[GRASS5] [bug #1023] (grass) v.extract again
Glynn Clements
glynn.clements at virgin.net
Sat Apr 20 06:47:52 EDT 2002
Eric G. Miller wrote:
> > > To set the number of categories the program use
> > > recd = pcats->num;
> > >
> > > I think this is the numbrer of the max. categorie, but not number of
> > > categories. The code must be:
> > >
> > > recd = pcats->ncats;
> >
> > I'm not sufficiently familiar with category handling to be sure; can
> > anyone else comment on this?
>
> "num" is highest category number, "ncats" is total number of entries.
> Sounds like it should be "ncats". Category numbers certainly don't
> have to be continuous.
OK, fixed.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list