[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
Tue, 19 Apr 2005 12:23:45 +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".


Hamish


ps - upstream bugs are best filed, discussed, and dealt with in the upstream bug
tracker where all the upstream developers will at least see them:
  http://grass.ibiblio.org/bugtracking/bugreport.html