<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P.MsoAutoSig {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoAutoSig {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoAutoSig {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV align=left><FONT face=Tahoma size=2><B>From:</B> 
wingrass-admin@grass.itc.it [mailto:wingrass-admin@grass.itc.it] <B>On Behalf Of 
</B>Slaymaker, Dana<BR><B>Sent:</B> Tuesday, January 17, 2006 5:18 
PM<BR><B>To:</B> wingrass@grass.itc.it<BR><B>Subject:</B> [winGRASS] creating 
max value raster<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I want to create a uniform new 
raster composed of highest value found in a source raster. I know I can do this 
by hand running r.describe and mapclac, but I want to do it in a shell script. 
Any ideas?</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">Dana Slaymaker</SPAN></FONT></P>
<P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">Senior Program Officer </SPAN></FONT></P>
<P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">Ecosystem Services Unit</SPAN></FONT></P>
<P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">Winrock International</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=#000080 size=2><SPAN 
style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial color=#000080><SPAN 
style="FONT-SIZE: 12pt"><SPAN 
class=317075614-18012006>--------------------------------------------------------------------------------------------------------</SPAN></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=#000080><SPAN 
style="FONT-SIZE: 12pt"><SPAN 
class=317075614-18012006></SPAN></SPAN></FONT>&nbsp;</P><FONT face=Arial 
color=#000080><SPAN style="FONT-SIZE: 12pt"><SPAN class=317075614-18012006>
<DIV dir=ltr align=left><SPAN class=317075614-18012006><FONT face=Arial 
color=#000080 size=2>How about using r.plane?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=317075614-18012006><FONT face=Arial 
color=#000080 size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=317075614-18012006><FONT face=Arial 
color=#000080 size=2><A 
href="http://grass.itc.it/grass61/manuals/html61_user/r.plane.html">http://grass.itc.it/grass61/manuals/html61_user/r.plane.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=317075614-18012006><FONT face=Arial 
color=#000080 size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=317075614-18012006><FONT face=Arial 
color=#000080 size=2>You could run r.info and use awk or grep on the resulting 
output to capture the maximum value of the input raster; then use the maximum to 
feed the elevation parameter of r.plane.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=317075614-18012006><FONT face=Arial 
color=#000080 size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=317075614-18012006><FONT face=Arial 
color=#000080 size=2>~ Eric.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV align=left><FONT face=Arial 
size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV align=left><STRONG><FONT face=Arial color=#000080>Eric 
Patton</FONT></STRONG></DIV>
<DIV align=left><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Technologist, 
Geo-Spatial Data Services</EM></FONT></DIV>
<DIV align=left><FONT size=2><FONT face=Arial color=#000080><EM>Geological 
Survey of Canada (Atlantic)</EM></FONT></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Natural Resources 
Canada</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Bedford Institute of 
Oceanography</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Dartmouth, Nova 
Scotia, Canada B2Y 4A2</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080 
size=2><EM></EM></FONT>&nbsp;</DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Postal address: P.O. 
Box 1006</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Courier address: 1 
Challenger Drive</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080 
size=2><EM></EM></FONT>&nbsp;</DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Telephone: 
(902)426-7732</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080 
size=2><EM>Facsimile:&nbsp;&nbsp;(902)426-4104</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080 
size=2><EM>E-mail:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </EM></FONT><A 
href="mailto:epatton@NRCan.gc.ca"><FONT face=Arial 
size=2><EM>epatton@NRCan.gc.ca</EM></FONT></A></DIV></SPAN></SPAN></FONT></DIV></BODY></HTML>