Hi Hamish,
Thanks for your answer.
Am 04.09.2014 00:19 schrieb "Hamish" <[email protected]>:
>
> 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.

Actually that is exactly what i am trying to do. So my question is how to
convince grass to read the VAR file from a mapset other than the current
one without invoking g.mapset.

Best regards
Soeren

>
>
> hope it helps,
> Hamish
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to