[GRASS-user] copy elements from user-mapset to PERMANENT

Martin Landa landa.martin at gmail.com
Wed Feb 15 05:39:40 EST 2012


Hi,

2012/2/15 Johannes Radinger <JRadinger at gmx.at>:
> I tried to copy a vector from my user mapset into
> the PERMANENT mapset of the same location with g.copy.

you have write access only for the current mapset. In other words, you
need to switch to PERMANENT and call `g.copy` from the target mapset.

> g.copy vect=Treene_GK at Treene,Treene_simple at PERMANENT region=region_treene at Treene,region_Treene at PERMANENT
> Illegal filename. Character <@> not allowed.
> <Treene_simple at PERMANENT> is an illegal file name
> Illegal filename. Character <@> not allowed.
> <region_Treene at PERMANENT> is an illegal file name
> (Wed Feb 15 10:57:31 2012) Command finished (0 sec)

g.mapset PERMANENT
g.copy vect=Treene_GK at Treene,Treene_simple
region=region_treene at Treene,region_Treene

> Maybe that is not the correct command..is there a simple way
> to perform that copy? Or do I need to export/import the files?

Well, the error message is not clear enough...

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-user mailing list