Hi Nicolas,
I have now been reading into the vrt file.
All Nodata are the same -9999

It seems as if the vrt file takes the min max value from the first rasterfile. 
I have compared data in the browser.
If I go to style>properties and load ‘min-max’ actual values. These values are 
written into the vrt-file.
So when I close and reopen the vrt file it is back to start again.

It seems to be a bug.
Could you do me a favor and try this out before I´ll file a ticket.

Regards
Lene Fischer

Fra: Qgis-user [mailto:[email protected]] På vegne af Nicolas 
Cadieux
Sendt: 17. april 2016 14:48
Til: [email protected]
Emne: Re: [Qgis-user] Raster - values and histogram


Hi,

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?

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.

Hope this help!
Nicolas
On Apr 17, 2016 8:22 AM, "Lene Fischer [via OSGeo.org]" <[hidden 
email]</user/SendEmail.jtp?type=node&node=5261625&i=0>> wrote:

Hi,

I´m rehearsing my lectures for tomorrow – and using 2.14.1 on windows.



When I create a virtual raster the values are not viewed correct. Then I click 
Stretch Histogram to full data. Nothing happens.

I have to go to properties and load to ‘min-max’ actual values before anything 
happens.



If I use Properties >Histogram and try to Reset and then ReCompute histogram – 
nothing happens…



What do I do wrong?



A bit distressed – Giving lectures in raster QGIS tomorrow …

Regard

Lene Fischer

_______________________________________________
Qgis-user mailing list
<a 
href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5261624&amp;i&#61;0">[hidden
 email]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
________________________________
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/Raster-values-and-histogram-tp5261624.html
To start a new topic under Quantum GIS - User, email 
[email protected]<mailto:[email protected]>
To unsubscribe from Quantum GIS - User, <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;";>click
 here.
<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";
 style="font:9px serif">NAML

________________________________
View this message in context: Re: Raster - values and 
histogram<http://osgeo-org.1560.x6.nabble.com/Raster-values-and-histogram-tp5261624p5261625.html>
Sent from the Quantum GIS - User mailing list 
archive<http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html> at 
Nabble.com.
_______________________________________________
Qgis-user mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to