[GRASS-user] r.sum from maps in different mapset

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

just a quick question:

I have to calculate r.sum from files from different mapsets - it seems
that there is no way of specifying the mapset or the raster map - is
this correct?
So I have to options:

1) modify the mapset serachlist --- r.sum --- reset the searchpath
or
2) change to other mapset --- r.sum --- change back to other mapset

I assume 1) is the better way?

Are there other options?

Cheers,

Rainer

- --
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax : +33 - (0)9 58 10 27 44

Fax (D): +49 - (0)3 21 21 25 22 44

email: Rainer@krugs.de

Skype: RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8Ozm8ACgkQoYgNqgF2egqsAwCfakipChMaGOK4gwDsm2Z7yol/
5xwAnRuX3QGYMYT3+HniSNc+wQ7i56c3
=nNY1
-----END PGP SIGNATURE-----

Hi,

I have to calculate r.sum from files from different mapsets - it seems
that there is no way of specifying the mapset or the raster map - is
this correct?

in the wxgui
(http://grass.osgeo.org/grass64/manuals/html64_user/wxGUI.html),
under settings or gui-preferences mapsets of an location can be
(de)activated to be
findable in the wxgui.

see also

g.mapset -Changes current mapset:
http://grass.osgeo.org/grass64/manuals/html64_user/g.mapset.html

g.mapsets - Modifies the user's current mapset search path:
http://grass.osgeo.org/grass64/manuals/html64_user/g.mapsets.html

HTH
Helmut

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/r-sum-from-maps-in-different-mapset-tp7180011p7181103.html
Sent from the Grass - Users mailing list archive at Nabble.com.

mapname@othermapset

use 'g.mapsets -s' to select mapsets to put in the
search path (in which case you can skip the
@othermapset part, but it don't hurt to explicitly
add that)

mapsets not in the current search path can still
be accessed by @othermapset.

Hamish

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/01/12 22:39, Hamish wrote:

mapname@othermapset

use 'g.mapsets -s' to select mapsets to put in the search path (in
which case you can skip the @othermapset part, but it don't hurt to
explicitly add that)

mapsets not in the current search path can still be accessed by
@othermapset.

Thanks Hamish - that is exactly what I was looking for (the @) and it
is now working nicely.

I initially tried it as well, but it did not work - but I tried to
access a map which did not exist in the other mapset - shame on me.

Thanks,

Rainer

Hamish

- --
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax : +33 - (0)9 58 10 27 44

Fax (D): +49 - (0)3 21 21 25 22 44

email: Rainer@krugs.de

Skype: RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8P7AMACgkQoYgNqgF2egrLtACcD4dB/I+St4NFlmE3Z9ryhlxx
/1wAn1v/BPOH4cJ48PxAMnTdSpf2g1VO
=FFpx
-----END PGP SIGNATURE-----