On 6/10/07 1:18 PM, "Glynn Clements" <[EMAIL PROTECTED]> 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
_______________________________________________
grassgui mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassgui