<p dir="ltr">Yup, </p>
<p dir="ltr">I can check on Monday.</p>
<p dir="ltr">Nicolas</p>
<div class="gmail_quote">On Apr 17, 2016 11:59 AM, Lene Fischer <lfi@ign.ku.dk> wrote:<br type='attribution'><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div>
<div>
<p><span style="font-size:10pt;font-family:'verdana' ,">Hi Nicolas,</span></p>
<p><span style="font-size:10pt;font-family:'verdana' ,">I have now been reading into the vrt file.
</span></p>
<p><span style="font-size:10pt;font-family:'verdana' ,">All Nodata are the same -9999</span></p>
<p><span style="font-size:10pt;font-family:'verdana' ,"> </span></p>
<p><span style="font-size:10pt;font-family:'verdana' ,">It seems as if the vrt file takes the min max value from the first rasterfile. I have compared data in the browser.</span></p>
<p><span style="font-size:10pt;font-family:'verdana' ,">If I go to style>properties and load
</span>‘min-max’ actual values. These values are written into the vrt-file.</p>
<p>So when I close and reopen the vrt file it is back to start again.</p>
<p><span style="font-size:10pt;font-family:'verdana' ,"> </span></p>
<p><span style="font-size:10pt;font-family:'verdana' ,">It seems to be a bug.</span></p>
<p><span style="font-size:10pt;font-family:'verdana' ,">Could you do me a favor and try this out before I´ll file a ticket.</span></p>
<p><span style="font-size:10pt;font-family:'verdana' ,"> </span></p>
<p><span style="font-size:10pt;font-family:'verdana' ,">Regards</span></p>
<p><span style="font-size:10pt;font-family:'verdana' ,">Lene Fischer</span></p>
<p><span style="font-size:10pt;font-family:'verdana' ,"> </span></p>
<p><b><span style="font-size:10pt;font-family:'tahoma' ,">Fra:</span></b><span style="font-size:10pt;font-family:'tahoma' ,"> Qgis-user [mailto:qgis-user-bounces@lists.osgeo.org]
<b>På vegne af </b>Nicolas Cadieux<br />
<b>Sendt:</b> 17. april 2016 14:48<br />
<b>Til:</b> qgis-user@lists.osgeo.org<br />
<b>Emne:</b> Re: [Qgis-user] Raster - values and histogram</span></p>
<p> </p>
<p>Hi,</p>
<p>I am not sure if there is a bug but since you have a virtual raster, I would look to see if they all have the same no data values.  Try loading only one raster or try saving the virtual raster as a tif  and setting the no data value.  Do you have the same
 problem?  </p>
<p>If Qgis does not recognize the no data value, it may be thrown out by trying to stretch the image from -32768 to whatever you have.  In that case, your raster will not be "viewed correctly" as it is trying to display more than 256 shades which is the max
 a screen can handle. In that case you would see only black and white.</p>
<p>Hope this help!<br />
Nicolas</p>
<div>
<p>On Apr 17, 2016 8:22 AM, "Lene Fischer [via OSGeo.org]" <<a href="/user/SendEmail.jtp?type=node&node=5261625&i=0">[hidden email]</a>> wrote:</p>
<div>
<p>Hi,</p>
<p>I´m rehearsing my lectures for tomorrow – and using 2.14.1 on windows.</p>
<p> </p>
<p>When I create a virtual raster the values are not viewed correct. Then I click Stretch Histogram to full data. Nothing happens.</p>
<p>I have to go to properties and load to ‘min-max’ actual values before anything happens.</p>
<p> </p>
<p>If I use Properties >Histogram and try to Reset and then ReCompute histogram – nothing happens…</p>
<p> </p>
<p>What do I do wrong?</p>
<p> </p>
<p>A bit distressed – Giving lectures in raster QGIS tomorrow …</p>
<p>Regard</p>
<p>Lene Fischer</p>
</div>
<p style="margin-bottom:12pt"><br />
_______________________________________________ <br />
Qgis-user mailing list <br />
<a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5261624&amp;i&#61;0">[hidden email]
<br />
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">
http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br />
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">
http://lists.osgeo.org/mailman/listinfo/qgis-user</a> </p>
<div align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#a0a0a0" align="center" />
</div>
<div>
<div>
<p><b><span style="font-size:9pt;font-family:'tahoma' ,;color:#444444">If you reply to this email, your message will be added to the discussion below:</span></b></p>
</div>
<p><span style="font-size:9pt;font-family:'tahoma' ,;color:#444444"><a href="http://osgeo-org.1560.x6.nabble.com/Raster-values-and-histogram-tp5261624.html">http://osgeo-org.1560.x6.nabble.com/Raster-values-and-histogram-tp5261624.html</a>
</span></p>
</div>
<div style="margin-top:4.8pt">
<p style="line-height:18pt"><span style="font-size:8.5pt;font-family:'tahoma' ,;color:#666666">To start a new topic under Quantum GIS - User, email
<a href="mailto:ml-node+s1560n4125267h38@n6.nabble.com">ml-node+s1560n4125267h38@n6.nabble.com</a>
<br />
To unsubscribe from Quantum GIS - User, <a href="<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;unsubscribe_by_code&amp;node&#61;4125267&amp;code&#61;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg&#61;&#61;">http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;unsubscribe_by_code&amp;node&#61;4125267&amp;code&#61;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg&#61;&#61;</a>">click
 here.<br />
<a href="<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;macro_viewer&amp;id&#61;instant_html%21nabble%3Aemail.naml&amp;base&#61;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs&#61;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml">http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;macro_viewer&amp;id&#61;instant_html%21nabble%3Aemail.naml&amp;base&#61;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs&#61;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml</a>"
 style="font:9px serif">NAML </span></p>
</div>
</div>
<p> </p>
<div>
<hr size="3" width="300" style="width:180pt" align="left" />
</div>
<p>View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Raster-values-and-histogram-tp5261624p5261625.html">
Re: Raster - values and histogram</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.</p>
</div>
</div>

</blockquote></div>