[GRASSLIST:2618] Re: r.reclass from a shell script

Glynn Clements glynn.clements at virgin.net
Sat Feb 14 17:33:38 EST 2004


Miha STAUT wrote:

> How would I execute r.reclass command from a script?

	r.reclass in=... out=... < rules_file

Or, if you want to embed the rules in the script:

	r.reclass in=... out=... <<EOF
	<rule>
	<rule>
	...
	EOF

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list