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

Glynn Clements glynn.clements at virgin.net
Tue Feb 5 02:12:47 EST 2002


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

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).

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list