#!/bin/sh # # This program is Free Software under the GNU GPL (>=v2). # Cited from the book: # Markus Neteler and Helena Mitasova: # Open Source GIS: A GRASS GIS Approach. # Kluwer Academic Publishers, Boston, Dordrecht, 464 pp, # ISBN: 1-4020-7088-8, http://mpa.itc.it/grasstutor/ # # Adjust the current region settings to a raster map # specified as parameter, then display the map if test "$GISBASE" = ""; then echo "You must be in GRASS to run this program." exit fi #map name is first parameter: MAP=$1 #zoom: g.region rast=$MAP #erase monitor and display map d.erase d.rast $MAP