<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Salut JF,<br>
<br>
What you are seeing is normal behavior. <br>
<br>
The "3.xxx e-38" is, like you say, the normal float default. So your
question is about the 0.<br>
<br>
When you create and expression like
("Montmorency_DSM_NN5m_17x17_mean11@1" <= -0.005 OR
Montmorency_DSM_NN5m_17x17_mean11@1" >= -0.005 ), this gives you
a layer with pixels having the value of "1" (satisfies condition) or
"0" (does not satisfy condition). If you want more then just a
layer with "1" and "0" , you multiply the result (a layer kept in
memory) by the original layer
(...*"Montmorency_DSM_NN5m_17x17_mean11@1"). Therefore, whatever
pixel that had a "1", now takes on a new value (from the Montmorency
layer) and any pixel that had a "0" keeps the zero value. If you
want "0" to become a "NULL" value, you must do it manually by doing
a "save as" and adding "0" to the no value data. You can also add
and additional no data value under "Layer property/Transparency/No
data value/Additional value." This will affect sytle and
transparency but not raster math (to my knowledge).<br>
<br>
I can be reached in Montréal if you have question.<br>
<br>
Bonne chance<br>
Nicolas<br>
514-987-6253<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Le 2015-01-27 14:10, jfprieur [via
OSGeo.org] a écrit :<br>
</div>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' cite="mid:1422385823061-5184028.post@n6.nabble.com"
type="cite"> Still get the same error, the masked value is set to
0 while the nodata for the new raster is the usual float default
of 3.xxx e-38
<br>
<br>
Starting to wonder if it is not something stupid like the fact
that the french decimal separator is a comma instead of a period
or something like that. I tried multiplying by 1.0 in my raster
calculator expression to try to force it to the float nodata but
same result.
<br>
<br>
<a moz-do-not-send="true"
href="https://docs.google.com/document/d/1_-o9VcjEiyKigyk3xwi1zvxWi_o9NaoQy5XOMakik84/edit?usp=sharing"
target="_top" rel="nofollow" link="external">https://docs.google.com/document/d/1_-o9VcjEiyKigyk3xwi1zvxWi_o9NaoQy5XOMakik84/edit?usp=sharing</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/Nodata-and-raster-calculator-tp5182962p5184028.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Nodata-and-raster-calculator-tp5182962p5184028.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=5184034&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/Nodata-and-raster-calculator-tp5182962p5184034.html">Re: Nodata and 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/>