[Qgis-user] Styles for Extremely Small-Value Rasters

Michael Treglia mtreglia at gmail.com
Fri Apr 3 12:31:04 PDT 2015


Nicolas,

Thanks for the quick response. I might be mis-understanding your
suggestion, so let me know if that seems to be the case.

The problem isn't specifying the min/max values (Loading the Min/Max values
from the raster is not a problem). The problem is that the color ramp
doesn't seem to interpret decimals at such fine precision. Since all of the
numbers in the raster are so close to 0, even when I enter specific values
for the color ramp to use (as the 'Value' next to the individual colors),
with such small numbers they all seem to just be recognized as 0.

In case it helps , this is QGIS 2.8.1 Win64 (on Windows 7).

Thanks again!
mike



On Fri, Apr 3, 2015 at 2:13 PM, Nicolas Cadieux <
nicolas.cadieux at archeotec.ca> wrote:

> Hi,
> You can manually place the min and max values. Since the screen is limited
> to 256 values, you will need to decide what values to display.  If 0 is
> null, you should indicate that in the raster properties. That will help
> with the classification.
>
> Nicolas Cadieux M.Sc.
> Les Entreprises Archéotec inc.
> 8548, rue Saint-Denis Montréal H2P 2H2
> Téléphone: 514.381.5112  Fax: 514.381.4995
> www.archeotec.ca
> Le 2015-04-03 14:54, "mtreg [via OSGeo.org]" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5199936&i=0>> a écrit :
>
> Hi All,
>
> I had a raster output from a kernel density estimate I produced in R
> (using the adehabitatHR package). I imported the layer to QGIS, and it
> displays by default without any issue (Rener type: Singleband Gray).
>
> However, when I try changing this to color (Render type: Singleband
> pseudocolor), I can't get the gradient in values to display. Since it is a
> Kernel Density Estimate result, the values are all extremely low, covering
> a fairly large area. The range of values is 0 to 6.4773e-10. When I either
> use the 'Classify' button to set value ranges to specific colors, all of
> the values stay at 0.  When I enter the small values into the
> classification Value field by hand, the display does not change.
>
> Increasing the values by multiplying the layer makes it feasible and plots
> okay, but I'd rather keep values to the originals/not go through an extra
> step.
>
> Anybody have success with plotting rasters with extremely small values
> with different color ramps?
>
> Any suggestions are appreciated...
>
> Thanks,
> Mike
>
> _______________________________________________
> Qgis-user mailing list
> <a
> href="/user/SendEmail.jtp?type=node&node=5199935&i=0">[hidden
> email]
> 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/Styles-for-Extremely-Small-Value-Rasters-tp5199935.html
>  To start a new topic under Quantum GIS - User, email
> ml-node+s1560n4125267h38 at n6.nabble.com
> To unsubscribe from Quantum GIS - User, <a href="
> http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4125267&code=bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg==">click
> here.
> <a 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
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id&%2361;instant_html%21nabble%3Aemail.naml&base&%2361;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs&%2361;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: Styles for Extremely Small-Value Rasters
> <http://osgeo-org.1560.x6.nabble.com/Styles-for-Extremely-Small-Value-Rasters-tp5199935p5199936.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
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150403/8d29c743/attachment.html>


More information about the Qgis-user mailing list