[GRASS5] Deprecate d.area and d.vect.line ??

Eric G. Miller egm2 at jps.net
Tue Feb 5 10:55:16 EST 2002

On Tue, 5 Feb 2002 07:12:47 +0000, Glynn Clements <glynn.clements at virgin.net> wrote:

> Eric G. Miller wrote:
> > I would like to deprecate d.area (and possibly d.vect.cats ?) in favor of
> > d.vect.area.
> If d.area is to be removed, it would be useful to either:
> a) make d.vect.area more backward-compatible, e.g. by changing the
> "color=" option to "fillcolor=" and supporting the "catnum=" option
> (the -f flag is a fairly recent addition, so that's less important),
> or

I suppose I could work in the catnum option to go with the constant
color options.  I used "color" rather than "fillcolor" to make the
arguments closer to d.vect, but I don't have real strong feelings
one way or the other.

> b) implement d.area as a script which calls d.vect.area.
> Scripts tend to have the disadvantage that errors from G_parser()
> don't make much sense unless the user is familiar with the script
> (although g.parser may help here).

I prefer to avoid shell scripts...

Eric G. Miller <egm2 at jps.net>

More information about the grass-dev mailing list