[GRASSLIST:6634] AW: Re: Import GRASS-Data from a distant Location/Mapset

Marco Lechner marco.lechner at geographie.uni-freiburg.de
Wed Apr 27 04:12:49 EDT 2005

No this doesn't solve the problem. Because g.mapsets or g.copy only is
available for mapsets from within MyLocation. It's not possible to choose a
Mapset from a different Location.


Marco Lechner

Institut für Physische Geographie
Uni Freiburg
Werderring 4
79085 Freiburg
Fon 0761 / 203-3548
Mail marco.lechner at geographie.uni-freiburg.de

-----Ursprüngliche Nachricht-----
Von: owner-GRASSLIST at baylor.edu [mailto:owner-GRASSLIST at baylor.edu]Im
Auftrag von Moritz Lennert
Gesendet: Mittwoch, 27. April 2005 09:55
An: Marco Lechner
Cc: grasslist at baylor.edu
Betreff: [GRASSLIST:6633] Re: Import GRASS-Data from a distant

On Wed, April 27, 2005 9:41, Marco Lechner said:
> Hi list,
> I wonder if it is possible to import GRASS-Data into my Location/Mapset
> a Location/Mapset wich is storted somewhere else in the Network?
> I'm using GRASS for a GIS-Lecture and each user has its own
> Spearfish-Location/Mapsets. This is necessary, because the students also
> should learn to administrate a whole location.
> If I want to import one of the layers a student produced in his mapset I
> have to
>> cd PATHtoMAPSETfrom
>> tar cfz temp.tgz [list of relevant layernames - may be with wildcards:
> i.e. ./*/elevation* ./*/landuse.30m ./*/layernameA ...]
>> mv temp.tgz PATHtoMyMAPSET
>> tar xzf temp.tgz
>> rm temp.tgz
> Is there an easier way -

from g.copy manual page:

"g.copy allows the user to copy existing data files from other mapsets to
user's current mapset ($MAPSET). The files to be copied must exist in the
user's current mapset search path and location;"

and from the g.mapsets manual page:

"Modifies the user's current mapset search path, affecting the user's access
to data existing under the other GRASS mapsets in the current location."

Doesn't this solve your problem ?


More information about the grass-user mailing list