[GRASSLIST:6632] Re: Import GRASS-Data from a distant Location/Mapset
Ian MacMillan
ian_macmillan at umail.ucsb.edu
Wed Apr 27 03:52:36 EDT 2005
Marco, I haven't heard of a module for this, but it seems like you
could also just do this through a window manager (windows, mac, etc.),
just navigate to the distant mapset, copy it, and paste it in your
location and mapset, like you would do with any other non-Grass kind of
file. At the same time, you would be able to see what is in their
directory for a list of raster/vectors/etc.
Not very helpful I guess but good luck nonetheless,
-Ian
On Apr 27, 2005, at 12:41 AM, Marco Lechner wrote:
> Hi list,
>
> I wonder if it is possible to import GRASS-Data into my
> Location/Mapset from
> 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
>> cd PATHtoMyMAPSET
>> tar xzf temp.tgz
>> rm temp.tgz
>
> Is there an easier way - did anyone write a script for this problem?
> The
> easiest way would be to have a module wich
> - asks for the path of the distant Mapset
> - checks, if the locations differ or not
> - lists the available layers (raster, vector, sites, ...)
> - lets you choose the layers
> - copies the chosen layers in my current mapset
>
> -> well, I'm not very knowledgeable about programing such a module:
>
>
> Marco
>
> ---------------------------------
> Marco Lechner
>
> office:
> Department of Physical Geography
> University of Freiburg
> Werderring 4
> D-79085 Freiburg
> Germany
> phone +49 (0)761 / 203-3548
> email marco.lechner at geographie.uni-freiburg.de
>
More information about the grass-user
mailing list