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

Michael Barton michael.barton at asu.edu
Thu Apr 28 01:27:31 EDT 2005


Marco,

Why don't you put them in the grass addons repository of the GRASS WIKI.
This way everyone can access them.
<http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassAddOns>


Thanks to you and Hamish for the nice work.


Michael

On 4/27/05 1:52 PM, "marco.lechner"
<marco.lechner at geographie.uni-freiburg.de> wrote:

> Hi Hamish,
> 
> I modified your scripts and they run great for my needs.
> I will attach them to this mail - may be we can put it in the CVS?
> What I changed:
> - fixed problem "g.parser not found"
> - r.unpack didn't remove the path from the *.pack file and tried to import
> the packed Map with naming it the whole path not only the filename I added a
> second sed pipe, which removes the path from $GIS_OPT_input
> 
> Could anyone please try it - I was only able to test it on a Cygwin-machine
> with GRASS6.1.cvs.
> 
> Marco
> 
> 
> 
> --------------------------------------------------------
> Marco Lechner
> Institut für Physische Geographie
> Werderring 4
> 79085 Freiburg
> Fon 0761 203-3548
> Email marco.lechner at geographie.uni-freiburg.de
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Hamish [mailto:hamish_nospam at yahoo.com]
> Gesendet: Mittwoch, 27. April 2005 10:55
> An: Marco Lechner
> Cc: GRASSLIST at baylor.edu
> Betreff: Re: [GRASSLIST:6631] Import GRASS-Data from a distant
> Location/Mapset
> 
>> 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.
> 
> 
> Note maps in the PERMANENT mapset are read only and accessable from all
> other mapsets.
> 
> 
> To copy a vector map to another computer, just copy over the directory
> in $MAPSET/vector/ and possibly the dbf link in $MAPSET/dbf.
> scp, 'tar -czf' etc..
> 
> 
> To copy a raster map (as you know) you have to copy a lot of files from
> a lot of places... one day the raster format will be rewritten & things
> will be easier, but in the mean time I have written a couple little
> scripts to pack up a raster map for transport to another machine. r.pack
> and r.unpack,
> 
> see:
>  http://grass.itc.it/pipermail/grass5/2004-July/014923.html
> 
> 
> 
> It's up to you to make sure the projection settings are the same.
> 
> 
> Hamish

____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ  85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>




More information about the grass-user mailing list