<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<DEFANGED_META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<DEFANGED_meta name=ProgId content=Word.Document>
<DEFANGED_meta name=Generator content="Microsoft Word 10">
<DEFANGED_meta name=Originator content="Microsoft Word 10">
<DEFANGED_link rel=File-List href="cid:filelist.xml@01C59CFC.C152AE00">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
 <!-- <DEFANGED_STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EmailFormatvorlage17
        {mso-style-type:personal;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;}
span.EmailFormatvorlage18
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
 /* Page Definitions */
 @page
        {mso-gutter-position:top;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:42.55pt 42.55pt 70.9pt 42.55pt;
        mso-header-margin:35.45pt;
        mso-footer-margin:35.45pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
 --> </DEFANGED_STYLE>
<!--[if gte mso 10]>
 <!-- <DEFANGED_STYLE>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Normale Tabelle";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
 --> </DEFANGED_STYLE>
<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=DE link=blue vlink=purple style='tab-interval:35.4pt'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>The
function exists in Grass 6.0 but it doesn`t work the way i need it.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>I
tried: r.statistics base=GTOPO30 cover=special-postal-district method=average
output=newmap<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>But
the result are all heights in the postal-district and not the average height. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>I
found another method:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>r.average
base=special-postal-district cover=GTOPO30 output=newmap<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>With
this method i get the average. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>But
I haven`t found anything similar for minimum and maximum.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>Greetings<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>Maik<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:windowtext'>-----Ursprüngliche
Nachricht-----<br>
<b><span DEFANGED_STYLE='font-weight:bold'>Von:</span></b> turek2
[mailto:turek2@poczta.fm] <br>
<b><span DEFANGED_STYLE='font-weight:bold'>Gesendet:</span></b> Dienstag, 9. August 2005
11:50<br>
<b><span DEFANGED_STYLE='font-weight:bold'>An:</span></b> Maik Trömel<br>
<b><span DEFANGED_STYLE='font-weight:bold'>Betreff:</span></b> Re: [GRASSLIST:7835]
average height</span></font></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span DEFANGED_STYLE='font-size:12.0pt'>Maik Trömel wrote: <o:p></o:p></span></font></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span DEFANGED_STYLE='font-size:10.0pt;font-family:Arial'><!--[if gte mso 9]><xml>
 <u1:OfficeDocumentSettings>
  <u1:DoNotRelyOnCSS/>
 </u1:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <u2:WordDocument>
  <u2:SpellingState>Clean</u2:SpellingState>
  <u2:GrammarState>Clean</u2:GrammarState>
  <u2:DocumentKind>DocumentEmail</u2:DocumentKind>
  <u2:HyphenationZone>21</u2:HyphenationZone>
  <u2:EnvelopeVis/>
  <u2:DrawingGridHorizontalSpacing>2,85 pt</u2:DrawingGridHorizontalSpacing>
  <u2:DisplayVerticalDrawingGridEvery>2</u2:DisplayVerticalDrawingGridEvery>
  <u2:Compatibility>
   <u2:BreakWrappedTables/>
   <u2:SnapToGridInCell/>
   <u2:WrapTextWithPunct/>
   <u2:UseAsianBreakRules/>
  </u2:Compatibility>
  <u2:BrowserLevel>MicrosoftInternetExplorer4</u2:BrowserLevel>
 </u2:WordDocument>
</xml><![endif]-->Hello,<u3:p></u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial'><u3:p>&nbsp;</u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>i&#8217;m searching a function to get the maximum, the
minimum und the average of the heights of a postal-district.<u3:p></u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'><u3:p>&nbsp;</u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>I`ve got the &#8220;GTOPO30-Model&#8221; and a
shapefile with the geometrie of the postal-districts. <u3:p></u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>I convertet the shapefile to rasterdata (the
postal-codes are still available). Now i want to use r.mapcalc to get the
inforamtions from the GTOPO30-Model. <u3:p></u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'><u3:p>&nbsp;</u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>I tried: <u3:p></u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-left:35.4pt;text-indent:35.4pt'><font size=2
color=black face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial;mso-ansi-language:EN-GB'>r.mapcalc
newmap=&#8221;if(postalmap=5570,max(GTOPO30),null())&#8221;<u3:p></u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-left:35.4pt;text-indent:35.4pt'><font size=2
color=black face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial;mso-ansi-language:EN-GB'><u3:p>&nbsp;</u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>But naturally it didn`t work.<u3:p></u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>The other functions i tried out didn`t work, too.<u3:p></u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'><u3:p>&nbsp;</u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>Does anybody have an idea how I could get the
informations?<u3:p></u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'><u3:p>&nbsp;</u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>Thanks for your help.<u3:p></u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'><u3:p>&nbsp;</u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>Greeting<u3:p></u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=2 color=black
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>Maik<u3:p></u3:p></span></font><o:p></o:p></p>

<p class=MsoNormal DEFANGED_STYLE='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span DEFANGED_STYLE='font-size:12.0pt'>try r. statistics, but
i'm not sure if it works in grass6.<br>
good luck,<br>
maciek<o:p></o:p></span></font></p>

</div>

</body>

</html>
<TABLE cellPadding="3" bgColor="#ffffff"><TBODY><TR><TD style="font: 12px Courier New, Courier, monotype.com; padding: 3px; background: #ffffff; color: #000000">----------------------------------------------------------------------
<BR>
Startuj z INTERIA.PL! &gt;&gt;&gt; <A href="http://link.interia.pl/f186c">http://link.interia.pl/f186c</a> </TD></TR></TBODY></TABLE>