[GRASS-dev] New v.digit
Glynn Clements
glynn at gclements.plus.com
Sun Feb 25 14:33:04 EST 2007
Maciej Sieczka wrote:
> >> I'm currently using the -n switch. If you get rid of it, I can take it
> >> out
> >> of the v.digit command (and shorten the code a bit) in vector.tcl..
> >
> > Well what I took from previous discussions was its OK to use the -n flag
> > even if the map already exists, because it is only checked if the map
> > doesn't already exist! So it would be fine to just use it all the time,
> > but probably a more preferable solution is just to get rid of it as it
> > seems to be anomaly with no real use.
>
> I don't have a strong opinion about it. However, eventual removal of
> the -n flag should be postponed to GRASS 7 I think.
It shouldn't be *removed* without warning, but if it is considered
unnecessary, it can be ignored. IOW, if the old map doesn't exist,
always create a new map, rather than generating an error if -n wasn't
given.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list