[GRASSLIST:10677] How to save to PERMANENT

Hello; a real noob question: once I have a map layer I want to keep/share, how do I copy it into the PERMANENT location? When I tried r.copy, I got an error that a file does not exist.

TIA
Michael

Try "g.copy from=map@mapset to=map" in the PERMANENT mapset. The to= option of
g.copy does not support @MAPSET, so you must run grass with the PERMANENT
mapset.

Huidae Cho

On Wed, Mar 01, 2006 at 10:15:56PM -0800, Michael Rensing wrote:

Hello; a real noob question: once I have a map layer I want to keep/share, how
do I copy it into the PERMANENT location? When I tried r.copy, I got an error
that a file does not exist.

TIA
Michael

Huidae Cho wrote:

> Hello; a real noob question: once I have a map layer I want to keep/share, how
> do I copy it into the PERMANENT location? When I tried r.copy, I got an error
> that a file does not exist.

Try "g.copy from=map@mapset to=map" in the PERMANENT mapset. The to= option of
g.copy does not support @MAPSET, so you must run grass with the PERMANENT
mapset.

Note that you have to own the current mapset. So to start GRASS in the
PERMANENT mapset, you have to own it (or su/sudo to the user who owns
it).

If you don't the necessary privileges, other users can still access
your maps either by using the map@mapset notation, or by using
g.mapsets to add your mapset to their mapset search path. In either
case, they need the necessary filesystem permissions.

--
Glynn Clements <glynn@gclements.plus.com>

OK, that makes sense, but when I start in the PERMANENT mapset, I don't see any of the maps in my other mapset. Does that mean there's some kind of permission problem, or do I need to remember the names of the other maps, or ...

Thanks again,
Michael

Huidae Cho wrote:

Try "g.copy from=map@mapset to=map" in the PERMANENT mapset. The to= option of
g.copy does not support @MAPSET, so you must run grass with the PERMANENT
mapset.

Huidae Cho

On Wed, Mar 01, 2006 at 10:15:56PM -0800, Michael Rensing wrote:
  

Hello; a real noob question: once I have a map layer I want to keep/share, how do I copy it into the PERMANENT location? When I tried r.copy, I got an error that a file does not exist.

TIA
Michael

"g.list type=rast mapset=other_mapset" will help you.

Huidae Cho

On Fri, Mar 03, 2006 at 09:14:06AM -0800, Michael Rensing wrote:

OK, that makes sense, but when I start in the PERMANENT mapset, I don't see any
of the maps in my other mapset. Does that mean there's some kind of permission
problem, or do I need to remember the names of the other maps, or ...

Thanks again,
Michael

Huidae Cho wrote:
>Try "g.copy from=map@mapset to=map" in the PERMANENT mapset. The to= option
>of
>g.copy does not support @MAPSET, so you must run grass with the PERMANENT
>mapset.
>Huidae Cho
>On Wed, Mar 01, 2006 at 10:15:56PM -0800, Michael Rensing wrote:
>
>>Hello; a real noob question: once I have a map layer I want to keep/share,
>>how do I copy it into the PERMANENT location? When I tried r.copy, I got an
>>error that a file does not exist.
>>TIA
>>Michael
>>