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 <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to