[GRASS-dev] v.mapcalc missing UI

Glynn Clements glynn at gclements.plus.com
Sun Oct 4 18:42:58 PDT 2015


Martin Landa wrote:

> does anyone know how v.mapcalc should work? It seems to me that the
> module lacks an UI, no options, no G_parser(). It leads to the fact
> that
> 
> v.mapcalc --help
> 
> just freezes.

v.mapcalc reads the expression from stdin (see yylex.c); argv is
ignored.

Not only does it not call G_parser(), it doesn't call G_gisinit()
either. The only GRASS functions which it calls are:

G_calloc
G_malloc
G_realloc
G_fatal_error
G_free
G_gettext
G_message
G_warning

I suspect that it's probably a long way from being functional at
present.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list