<meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  
  
    Hi,<br>
    <br>
    Try  "layer@1" * -1   and not (layer@band1 * -1).<br>
    <br>
    Nicolas <br>
    <br>
    <div class="moz-cite-prefix">Le 2015-05-15 05:22, Giacomo
      Fontanelli-2 [via OSGeo.org] a écrit :<br>
    </div>
    <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em'
cite="mid:CAO5DHxHgX51_dTYb1W4rSzvvj2je-Xnc+aoXLm9frhaQ+VqdNg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Dear forum</div>
        <div><br>
        </div>
        <div>here is my problem.</div>
        <div><br>
        </div>
        <div>I've got a raster layer with pixel value ranging from -8 to
          -15.</div>
        <div><br>
        </div>
        <div>I found that Qgis fails when I do (layer@band1 * -1)
          because it produces a map with only NaN.</div>
        <div><br>
        </div>
        <div>I can do any operation except multiplication by a negative
          number.</div>
        <div><br>
        </div>
        <div>Can you help me?</div>
        <div><br>
        </div>
        <div>Thank you</div>
      </div>
      <br>
      _______________________________________________
      <br>
      Qgis-user mailing list
      <br>
      <a moz-do-not-send="true"
        href="/user/SendEmail.jtp?type=node&node=5205883&i=0"
        target="_top" rel="nofollow" link="external">[hidden email]</a>
      <br>
      <a moz-do-not-send="true"
        href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
        target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
      <br>
      <br>
      <hr color="#cccccc" noshade="noshade" size="1">
      <div style="color:#444; font: 12px
        tahoma,geneva,helvetica,arial,sans-serif;">
        <div style="font-weight:bold">If you reply to this email, your
          message will be added to the discussion below:</div>
        <a moz-do-not-send="true"
href="http://osgeo-org.1560.x6.nabble.com/problem-with-raster-calculator-tp5205883.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/problem-with-raster-calculator-tp5205883.html</a>
      </div>
      <div style="color:#666; font: 11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
        To start a new topic under Quantum GIS - User, email
        <a href="/user/SendEmail.jtp?type=node&node=5205915&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
        To unsubscribe from Quantum GIS - User, <a
          moz-do-not-send="true"
href="" target="_top" rel="nofollow" link="external">click
          here</a>.<br>
        <a moz-do-not-send="true"
href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a> </div>
    </blockquote>
    <br>
  



        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/problem-with-raster-calculator-tp5205883p5205915.html">Re: problem with raster calculator</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at Nabble.com.<br/>