[GRASS-dev] Access to mapset environment variable
Hamish
hamish.webmail at gmail.com
Wed Sep 3 15:19:05 PDT 2014
Sören wrote:
> I am struggling to access GRASS mapset specific environmental
> variables from mapsets different than the current one in C.
...
> Is there a possibility to access mapset specific environmental
> variables in C from a different mapset as the current one?
Hi,
I would suggest to use the mapsets' VAR file, not gisrc (g.gisenv),
to store per-mapset variables like that. Since gisrc is per-session
and ephemeral, not per-mapset and remembered after the session is
closed.
hope it helps,
Hamish
More information about the grass-dev
mailing list