[GRASS-user] An idea for a lightweight GRASS CLI

Michael Barton Michael.Barton at asu.edu
Sat Dec 5 11:37:00 EST 2009


So here is an idea for a lightweight GRASS CLI to run from a system  
terminal

1) a Python script that will set the display variables and launch an  
image viewer with autorefresh as Glynn has mentioned. It would use the  
Python "input" function to allow for the user to type multiple d.rast  
and d.vect commands.

2) a script named g.zoom. This script runs g.region and will reset the  
computational (and display) region by a positive or negative  
percentage around the center point or optionally around a point whose  
coordinates the user inputs

3) a script named g.pan. This script runs g.region to shift the  
computational (and display) region by a percent or by a unit value in  
some cardinal direction

Michael


More information about the grass-user mailing list