[GRASS5] [bug #3601] (grass) v.to.db: wrong units names

Hamish hamish_nospam at yahoo.com
Mon Sep 5 20:22:54 EDT 2005


> According to well known and accepted convention v.to.db is using wrong
> unit names. "me" should be "m", "k" -> "km", "h" -> "ha", "f" -> "ft".
> I don't know about acres. Definitely not "a" though, "a" is for are
> http://en.wikipedia.org/wiki/Are.
..
> > For backward compatibility we must keep all options from
> > 6.0, so you can add more but you must not remove any.
> 
> Fine. Let's just leave this report for the record to not forget about
> it  during the developement of next Grass version.

The abbreviations are standard throughout GRASS, e.g. r.report has used
those since before it was put into CVS almost 6 years ago and surely
since before then. That means that any reason for changing them
should be pretty important. I'm not sure that this meets that test.

It may be possible to allow "m", "km", etc to be parsed as well as
"me","meter", etc., just like we allow help, -help, --help to all work.
Option parsing would be omitted from the G_parser() step then and you
wouldn't get a pull down menu in the GUI.


Hamish




More information about the grass-dev mailing list