<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body style="direction: ltr;" bidimailui-charset-is-forced="true"
    bidimailui-detected-decoding-type="latin-charset" text="#000000"
    bgcolor="#ffffff">
    <p style="margin-bottom: 0cm; margin-top: 0pt;">Three equivalent
      answers in as many minutes. Talk about good service ;-)</p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">On 26/12/2010 13:10,
      Malte Martin wrote:</p>
    <blockquote
      cite="mid:45034C8C-6200-4850-BC7E-AD7AB234753E@perlomat.de"
      type="cite">Hi&nbsp;
      <div><br>
      </div>
      <div>should be something like (untested)</div>
      <div><br>
      </div>
      <div><span class="Apple-style-span" style="font-family: Times;"><tt>r.mapcalc
            'elevation300map=if((originalelevationmap &gt;
            300),originalelevationmap,NULL())'</tt></span></div>
      <div><span class="Apple-style-span" style="font-family: Times;"><br>
        </span></div>
      <div><span class="Apple-style-span" style="font-family: Times;"></span><span
          class="Apple-style-span" style="font-family: Times;">this
          means:</span></div>
      <div><span class="Apple-style-span" style="font-family: Times;"><br>
        </span></div>
      <div><span class="Apple-style-span" style="font-family: Times;">if
          originalelevationmap &gt; 300 get the value from the
          originalelevationmap, otherwise the value should be NULL and
          all is wirtten to the map elevation300map.</span></div>
      <div><span class="Apple-style-span" style="font-family: Times;"><br>
        </span></div>
      <div><span class="Apple-style-span" style="font-family: Times;">Otherwise
          take a closer look to</span></div>
      <div><font class="Apple-style-span" face="Times"><a
            moz-do-not-send="true"
            href="http://grass.osgeo.org/gdp/html_grass64/r.mapcalc.html">http://grass.osgeo.org/gdp/html_grass64/r.mapcalc.html</a></font></div>
      <div><span class="Apple-style-span" style="font-family: Times;"><br>
        </span></div>
      <div><span class="Apple-style-span" style="font-family: Times;">I
          haven't used r.mapcalc for a long time so I don't know if
          there had been changes in the syntax - the trick is to use the
          if clause implemented in r.mapcalc. I have no QGIS/GRASS
          installed on this pc...</span></div>
      <div><span class="Apple-style-span" style="font-family: Times;"><br>
        </span></div>
      <div><span class="Apple-style-span" style="font-family: Times;">I
          hope that helps and merry christmas</span></div>
      <div><span class="Apple-style-span" style="font-family: Times;">Malte</span></div>
      <div><span class="Apple-style-span" style="font-family: Times;">&nbsp;</span><br>
        <div>
          <div>Am 26.12.2010 um 11:51 schrieb Catlike:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <div><br>
              Thank you for reading.<br>
              I am trying to use r.mapcalc, through QGIS, to take an
              elevations raster<br>
              with a wide variety of values and create a new elevations
              raster which only<br>
              contains those cells that have a value over a certain
              number (in this case,<br>
              300 meters). <br>
              Unfortunately, the QGIS graphic user interface does not
              show me what the<br>
              actual command I create is. <br>
              What I get when I run the command is a new raster in which
              every cell has<br>
              been converted to equal 300 meters! <br>
              What should I do differently? <br>
              Again, thank you.<br>
              -- <br>
              View this message in context: <a moz-do-not-send="true"
href="http://osgeo-org.1803224.n2.nabble.com/Can-I-use-r-mapcalc-to-create-sorted-elevation-raster-tp5867462p5867462.html">http://osgeo-org.1803224.n2.nabble.com/Can-I-use-r-mapcalc-to-create-sorted-elevation-raster-tp5867462p5867462.html</a><br>
              Sent from the Grass - Users mailing list archive at
              Nabble.com.<br>
              _______________________________________________<br>
              grass-user mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
              <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
            </div>
          </blockquote>
        </div>
        <br>
        <div> <span class="Apple-style-span" style="border-collapse:
            separate; color: rgb(0, 0, 0); font-family: Helvetica;
            font-size: medium; font-style: normal; font-variant: normal;
            font-weight: normal; letter-spacing: normal; line-height:
            normal; orphans: 2; text-indent: 0px; text-transform: none;
            white-space: normal; widows: 2; word-spacing: 0px;">
            <div style="word-wrap: break-word;"><span
                class="Apple-style-span" style="border-collapse:
                separate; color: rgb(0, 0, 0); font-family: Helvetica;
                font-size: medium; font-style: normal; font-variant:
                normal; font-weight: normal; letter-spacing: normal;
                line-height: normal; orphans: 2; text-indent: 0px;
                text-transform: none; white-space: normal; widows: 2;
                word-spacing: 0px;">
                <div style="word-wrap: break-word;"><span
                    class="Apple-style-span" style="border-collapse:
                    separate; color: rgb(0, 0, 0); font-family:
                    Helvetica; font-size: 12px; font-style: normal;
                    font-variant: normal; font-weight: normal;
                    letter-spacing: normal; line-height: normal;
                    orphans: 2; text-indent: 0px; text-transform: none;
                    white-space: normal; widows: 2; word-spacing: 0px;">
                    <div style="word-wrap: break-word;">
                      <div>Malte Martin</div>
                      <div>----------------------------</div>
                      <div>+ 49 531 2258085</div>
                      <div>+ 49 177 3841416</div>
                      <div><br>
                      </div>
                      <div>Comeniusstr. 4</div>
                      <div>D-38102 Braunschweig</div>
                      <div>skype: maltehm</div>
                      <div><br>
                      </div>
                    </div>
                  </span></div>
              </span></div>
          </span><br class="Apple-interchange-newline">
        </div>
        <br>
      </div>
      <br>
      <br>
      This mail was received via Mail-SeCure System.<br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>

This mail was received via Mail-SeCure System.


</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="62">-- 
Micha Silver
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il/">http://www.surfaces.co.il/</a>
Arava Development Co.  +972-52-3665918
</pre>
  </body>
</html>