<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Segoe UI",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-US">Hi Carolina,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-US">Is it ok to convert your rasters to polygons? You can then work out the area of the polygons and delete/hide the polygons which do not meet your area
 criteria.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-US">If essential you could then rasterize these polygons at the end.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-US">Raster > Conversion > Polygonize from the QGIS menu or
</span><a href="https://gdal.org/programs/gdal_polygonize.html">https://gdal.org/programs/gdal_polygonize.html</a><span lang="EN-US" style="font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-US">.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-US">From memory it does not like decimals (or truncates them).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-US">Regards,<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Segoe UI",sans-serif;color:#005F83">Ryan Brook</span></b><span style="font-size:9.0pt;font-family:"Segoe UI",sans-serif;color:#005F83"><br>
<i>Senior Civil Engineer</i></span><span style="font-size:9.0pt;font-family:"Segoe UI",sans-serif"><br>
<b><span style="color:#005F83">E </span></b><span style="color:black"> <a href="mailto:ryan.brook@advisian.com"><span style="color:black">ryan.brook@advisian.com</span></a><br>
<b><a href="http://www.advisian.com/"><span style="color:#005F83">www.advisian.com</span></a></b></span></span><span style="font-family:"Segoe UI",sans-serif"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Carolina Rey <carredy@hotmail.com>
<br>
<b>Sent:</b> Sunday, 27 October 2019 22:02<br>
<b>To:</b> qgis-user@lists.osgeo.org<br>
<b>Subject:</b> [Qgis-user] Calculating/Finding minimum area in a raster<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="DE">Hello everyone,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">I need to obtain a new raster based on a raster calculating a minimum area of this existing area. By that I mean that in the existing raster I want clip the areas which contain a minimum area in mē. Problem is that the existing
 raster has no value in mē. It is a layer with two classes in different Colours represanting LUC (bare soil and low vegetation.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE">I hope my Question is understandable<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">Thank you very much<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE">Carolina Rey<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
</div>
<p><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: grey; FONT-FAMILY: Segoe UI">*** Advisian Notice *** "This email is confidential. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this
 email in error, please notify us immediately by return email and delete the email and any attachments. Any personal views or opinions expressed by the writer may not necessarily reflect the views or opinions of any company in the WorleyParsons Group of Companies.
 How we use your personal data: http://www.advisian.com/en-us/who-we-are/privacy-policy /SPAN></p>
</span>
</body>
</html>