<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Sebastian,</p>
    <p>thanx, that worked.</p>
    <p>But somehow, the hole process feels a bit clumsy.</p>
    <p>Having to fumble together a classification with "thru" (juck!),
      then the toolbox reclassify just seems to be broken, gladly gdal
      calculator does ...</p>
    <p>Why isn't there some "raster SQL" that saves one from all these
      stupid single steps?</p>
    <p>Ok, will then try to build a model and hope it will work for the
      tests to come…</p>
    <p>Thanks a lot,</p>
    <p>Bernd<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 17.02.22 um 22:19 schrieb Sebastian
      Gutwein:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAED_52rSiS-1kzp-kzeQ6tUc=T+gUj6hPEPdo6iOmWw-xLnehw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Reclassify your Layer 1 to be anything greater than
        1 = 0 everything else equals 1. This will give you a binary 1
        and 0 raster (Layer 3)  that you can use in the raster
        calculator: Layer 2 * Layer 3.  Anywhere where layer 3 is 1 your
        layer 2 values will stay the same and anywhere where layer 3 is
        0 your layer 2 values will become 0. <br>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Feb 17, 2022 at 3:19
          PM Bernd Vogelgesang <<a
            href="mailto:bernd.vogelgesang@gmx.de"
            moz-do-not-send="true" class="moz-txt-link-freetext">bernd.vogelgesang@gmx.de</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <p>Hi folk,</p>
            <p>I hardly never work with raster calculations, and
              unfortunately there is nowhere a collection of syntax
              examples for different use cases to be found
              (documentation :( ).</p>
            <p>Anything apart from +-*/ is beyond my scope.</p>
            <p>So,</p>
            <p>I made a viewshed analysis over a digital surface model
              (try the awesome Visibility Analysis plugin form Zoran
              Čučković and buy him a beer!)</p>
            <p>A lot of "views" are caught by tree canopy, but I am only
              interest in the flat grounds.</p>
            <p>So I substracted the surface model layer from the ground
              model layer, and this is Layer 1. <br>
            </p>
            <p>Giving a threshold of 1 meters difference for
              inaccuracities, all pixels in this layer above 1 should
              result in 0 (zero) in my viewshed raster (Layer 2)</p>
            <p>Please give me some hints,</p>
            <p>Cheers,</p>
            <p>Bernd<br>
            </p>
            <p><br>
            </p>
          </div>
          _______________________________________________<br>
          Qgis-user mailing list<br>
          <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">Qgis-user@lists.osgeo.org</a><br>
          List info: <a
            href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
          Unsubscribe: <a
            href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>