[Pkg-grass-devel] Bug#305245: v.digit: "Next not used" should be called "Auto increment"

Hamish Hamish <hamish_nospam@yahoo.com>, 305245@bugs.debian.org
Wed, 20 Apr 2005 12:46:36 +1200


> > Package: grass
> > Version: 6.0.0-1
> > Followup-For: Bug #305245
> > 
> > > The mode "Next not used" should be called "Auto increment".
> > 
> > the exact behavior in vector/v.digit/var.c:
> > 
> >    cat = cat_max_get ( var_geti(VAR_FIELD) ) + 1;
> >    var_seti ( VAR_CAT, cat );
> > 
> > So if you manually digitize cat "10" then the next feature as cat "1", then
> > switch to "Next not used" mode the next feature will be "11" not "2".
> > This way 9 features later you don't inadvertently make something else "10" as 
> > well.
> > 
> > So the action is truely "Next not used" and not "Auto increment".
> > 
> 
> So, closing this bug could be considered appropriate?


Dan, anything further?



Hamish