<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Hanna,<br>
    The Link below, should help<br>
    <br>
<a class="moz-txt-link-freetext" href="https://gis.stackexchange.com/questions/83407/how-to-extract-pixel-value-counts-from-a-raster-in-qgis">https://gis.stackexchange.com/questions/83407/how-to-extract-pixel-value-counts-from-a-raster-in-qgis</a><br>
    <br>
    Regards,<br>
    <br>
    Richard.<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 17/04/2018 14:21, Hanna nengerman
      wrote:<br>
    </div>
    <blockquote
      cite="mid:7E1B4265-52C9-445D-877F-DD88268ACA83@gmail.com"
      type="cite">
      <pre wrap="">Dear All,

I am using QGIS version: 2.8.2-Wien. 

In my project I have multiple raster layers. With one of those raster layers I did the following calculation:
‘Raster layer’ = 0 

This follows in a layer with 0 and 1 values. Where 0 stands for ‘false’ and 1 stands for ‘true’.
My question is: if it is possible to get the statistics from the resulting layer.
I would also like to know if it is possible to get the amount of 0 or 1 values of that resulting layer, preferably the percentage. 

I hope that someone can help me!

Kind regards,

Hanna 
_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <b><u>Richard McDonnell</u></b><br>
      <b><small><small><small>GIS Specialist PgD GIS AssocSCSI</small></small></small></b><br>
      <b><small>OPW FRM Data Management</small></b><br>
      <b><small>52 Stephens Green, Dublin 2.</small></b><br>
      <small><small>TEL: 01 6476543</small></small></div>
  
<p>
<a href="http://www.opw.ie/"><img src="http://www.opw.ie/en/media/opw-logo-december-2016.gif" width="405" height="225" /></a>
</p>
<br /><br />Email Disclaimer: <a href="http://www.opw.ie/en/disclaimer/">http://www.opw.ie/en/disclaimer/</a>

</body>
</html>