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

this bug's URL: http://intevation.de/rt/webrt?serial_num=3601
-------------------------------------------------------------------------

Subject: v.to.db: wrong units names

Platform: GNU/Linux/i386
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs 23.08.05

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.

Although I suppose current short unit names in v.to.db were not intended to be interpreted as official unit names, but I also believe any GIS should follow an official naming convention for area and lenght units. "me" for meters, "k" for kilometers etc. is confusing and not intuitive.

Maciek

-------------------------------------------- Managed by Request Tracker

For backward compatibility we must keep all options from
6.0, so you can add more but you must not remove any.

Radim

On 9/5/05, Request Tracker <grass-bugs@intevation.de> wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=3601
-------------------------------------------------------------------------

Subject: v.to.db: wrong units names

Platform: GNU/Linux/i386
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs 23.08.05

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.

Although I suppose current short unit names in v.to.db were not intended to be interpreted as official unit names, but I also believe any GIS should follow an official naming convention for area and lenght units. "me" for meters, "k" for kilometers etc. is confusing and not intuitive.

Maciek

-------------------------------------------- Managed by Request Tracker

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

From: "Radim Blazek" <radim.blazek@gmail.com>

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.

Thanks,
Maciek

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