[GRASS-user] could the region change between 2 commands in a single Bash script?

Maciek Sieczka werchowyna at epf.pl
Thu Jun 1 14:27:18 EDT 2006


On Thu, 1 Jun 2006 17:31:07 +0100
Glynn Clements <glynn at gclements.plus.com> wrote:

> you can force the use of a different region by setting either
> of the environment variables WIND_OVERRIDE or GRASS_REGION.
> 
> WIND_OVERRIDE should be the name of a saved region (created with e.g. 
> "g.region save=..."), while GRASS region should be a complete region
> definition in the same format as a region file except that newlines
> are replaced with semicolons.
> 
> E.g.
> 
> 	region=myscript.$$
> 	g.region save=$region
> 	export WIND_OVERRIDE=$region
> 
> 	...
> 
> 	g.remove region=$region

Thank you Glynn! This will help.

Maciek

--------------------
W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze z nich!
http://katalog.panoramainternetu.pl/




More information about the grass-user mailing list