[GRASSGUI] Re: grassgui Digest, Vol 4, Issue 6

Michael Barton michael.barton at asu.edu
Sun Jun 10 16:23:18 EDT 2007




On 6/10/07 1:18 PM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

> r.recode input=[map] output=[map] rules="`echo $rules`"
> 
> However, a long list of rules could easily overflow the maximum length
> of a command line (which may be as low as 1Kb on some platforms).
> 

If that is a potential problem, then the tempfile solution is easy enough,
especially if a rules=[file] could be added to r.reclass and r.recode
(already exists for v.reclass and r.colors)

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton





More information about the grass-gui mailing list