[GRASS-user] Deleted mapset; grass error on start

   I deleted a mapset in one location and now when I invoke grass7x it
shows an error because the mapset is not found. Does something need to be
cleaned up by hand?

TIA,

Rich

Hei Rich,

If I am not mistaken, the last used mapset is stored in $HOME/.grass7/rc which is picked up by GRASS if you start it in text mode.

However, you can of course explicitly specify the mapset to use at startup using:
grass72 /mygrassdb/mylocation/mymapset -text

See also: https://grass.osgeo.org/grass72/manuals/grass7.html

Cheers
Stefan

-----Original Message-----
From: grass-user [mailto:grass-user-bounces@lists.osgeo.org] On Behalf Of Rich Shepard
Sent: 16. september 2016 22:55
To: grass-user@lists.osgeo.org
Subject: [GRASS-user] Deleted mapset; grass error on start

   I deleted a mapset in one location and now when I invoke grass7x it shows an error because the mapset is not found. Does something need to be cleaned up by hand?

TIA,

Rich
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Fri, 16 Sep 2016, Blumentrath, Stefan wrote:

If I am not mistaken, the last used mapset is stored in $HOME/.grass7/rc
which is picked up by GRASS if you start it in text mode.

Stefan,

   I thought it was stored somewhere but did not look for the rc file.

However, you can of course explicitly specify the mapset to use at startup
using: grass72 /mygrassdb/mylocation/mymapset-text

   True. But I want to create a new location so this doesn't help. :slight_smile:

Rich

No, but
grass72 /mygrassdb/my_new_location/my_new_mapset -text -c EPSG:myepsg
should help. More details in the manual...

Cheers
Stefan

-----Original Message-----
From: grass-user [mailto:grass-user-bounces@lists.osgeo.org] On Behalf Of Rich Shepard
Sent: 16. september 2016 23:49
To: grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] Deleted mapset; grass error on start

On Fri, 16 Sep 2016, Blumentrath, Stefan wrote:

If I am not mistaken, the last used mapset is stored in
$HOME/.grass7/rc which is picked up by GRASS if you start it in text mode.

Stefan,

   I thought it was stored somewhere but did not look for the rc file.

However, you can of course explicitly specify the mapset to use at
startup
using: grass72 /mygrassdb/mylocation/mymapset-text

   True. But I want to create a new location so this doesn't help. :slight_smile:

Rich
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Fri, 16 Sep 2016, Blumentrath, Stefan wrote:

No, but grass72 /mygrassdb/my_new_location/my_new_mapset -text -c
EPSG:myepsg should help. More details in the manual...

Stefan,

   I found a web site that lists all the equivalent codes. Posted the URL to
the maillist.

Thanks,

Rich