displaying maps from multiple grass locations

Malcolm Williamson malcolm at cast.uark.edu
Thu Feb 20 09:25:05 EST 1997


On Thu, 20 Feb 1997, R.A.Sanderson wrote:

> Dear GRASS users
> 
> This is probably a trivial question, but how do you display maps in a
> location other than the one you're working in during a GRASS session?
> (Apologies if this question has been posted before.)
> 
> For example, we have a location 'UK' covering the whole country, but we
> also have locations for various regions within the country.  Sometimes I'd
> like to display one of the maps from a regional location whilst I'm running
> GRASS in the UK location.  The clumsy way of doing it is to export the map
> using r.out.ascii from one location, then re-import it with r.in.ascii into
> the other location, but this wastes both time and valuable disk space.  Any
> suggestions for better methods? Thanks in advance for your help.
> 
> Roy

Hi, Roy
Assuming that your different Locations actually use the same projection 
and datum, simply make symbolic links of the mapsets you want to view 
from Locations other than your current Location _to_ your current 
Location:

Current Location and database is /data/grass/Location1.

You want to view mapsets A & B from /home/Roy/Location2.

ln -s /home/Roy/Location2/A /data/grass/Location1
ln -s /home/Roy/Location2/B /data/grass/Location1

Then, run g.mapsets.

Hope this helps you,
	-Malcolm
--
Malcolm D. Williamson - GIS Specialist           E-mail: malcolm at cast.uark.edu
Center for Advanced Spatial Technologies      Telephone: (501) 575-6159
Ozark Rm. 12                                        Fax: (501) 575-5218 
University of Arkansas              
Fayetteville, AR 72701

> > 
> ----------------------------------------------------------------------------
> Roy Sanderson
> Centre for Land Use and Water Resources Research
> Porter Building
> University of Newcastle
> Newcastle upon Tyne
> NE1 7RU
> United Kingdom
> 
> Tel: +44 191 222 7789
> Fax: +44 191 222 6563
> URL: http://www.cluwrr.ncl.ac.uk
> ----------------------------------------------------------------------------
> 



More information about the grass-user mailing list