[GRASSLIST:4504] Re: more commands with source code
Roger Bivand
Roger.Bivand at nhh.no
Mon Sep 16 04:51:27 EDT 2002
On Mon, 16 Sep 2002, Martin Wegmann wrote:
> I am using 5.0 pre3 on LINUX SuSE 8.0, the respond of the bash (if you
> mean that with output) is either nothing (only a > appears and nothing
> happened and i have to restart GRASS) or "you confused me". I also
> doesn't appear in the manual pages, the result is also that i confused
> the program.
>
Good - so r.mapcalc is installed! Now copy and paste exactly what you
input and what the program outputs. Are you using it interactively - then
you get the ">" prompt, or as:
r.mapcalc "newmap = map1 + map2"
with the calculation enclosed in quotes? It replies "you confused me" when
the input string cannot be understood - also possibly when the map name
includes restricted characters (like +, -, *, etc). The way you write the
calculation matters!
Roger
> 16/09/2002 5:48:46 PM, "Eric G. Miller" <egm2 at jps.net> wrote:
>
> >On Mon, Sep 16, 2002 at 05:32:03PM +0930, Martin Wegmann wrote:
> >> hello,
> >>
> >> I wanted to follow the advices of Gordon to get a mean of the raster
> >> value for areas behind my polygons (see [GRASSLIST:4465]
> >> Rastervalueoutput for cover vectorfiles) . But r.mapcalc doesn't work,
> >> GRASS tells me that it's not a command. would there be more commands
> >> if i use the source code and compile it myself?
> >
> >There are some commands not built by default, but r.mapcalc is
> >definitely not one of them. Exactly which version of GRASS are you
> >using, what platform, and what is the exact output when you try
> >to invoke r.mapcalc?
> >
> -------------------------------
>
> Martin Wegmann
> Tropical Ecosystem Research Center
> PMB 44 Winnellie / Darwin
> NT 0821
> Australia
>
> .......
>
> priv.
> 4 Carpentier Cres.
> Wagaman / Darwin
> NT 0810
> Autralia
> 0061 8 8927 1241
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no
and: Department of Geography and Regional Development, University of
Gdansk, al. Mar. J. Pilsudskiego 46, PL-81 378 Gdynia, Poland.
More information about the grass-user
mailing list