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

Francesco P. Lovergine "Francesco P. Lovergine" <frankie@debian.org>, 305245@bugs.debian.org
Tue, 19 Apr 2005 09:59:11 +0200


On Tue, Apr 19, 2005 at 12:23:45PM +1200, Hamish wrote:
> 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?

-- 
Francesco P. Lovergine