<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: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=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:168519960;
        mso-list-template-ids:739307374;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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 bgcolor=white lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>Richard,<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>I should have made my initial query clearer.<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>I am trying to output a black and white geotiff.<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>Have split the original (landsat) image into RGB images.<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>When I apply the expression in the capture below, and hit run, nothing is saved to the results directory.<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>I’m assuming that my expression or something else in the raster calculator is wrong?<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>The final product that I’m after is a xyz grid where z is the black-white amplitude…which I think should be relatively easy (?) once I have the black-white image.<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:windowtext'>Chas Sheen<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'>0448017282<o:p></o:p></span></p></div><p class=MsoNormal><span style='color:windowtext;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 0in 0in 0in'><p class=MsoNormal><b><span lang=EN-US style='color:windowtext'>From:</span></b><span lang=EN-US style='color:windowtext'> Richard McDonnell [mailto:richard.mcdonnell@opw.ie] <br><b>Sent:</b> Wednesday, January 17, 2018 7:13 PM<br><b>To:</b> Chas Sheen <chassheengeo@gmail.com>; qgis-user@lists.osgeo.org<br><b>Subject:</b> Re: [Qgis-user] Generating black white from RGB landsat using Raster Map calculator?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Chas,<br>Two options for splitting RGB into separate images in QGIS.<o:p></o:p></p><ol start=1 type=1><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>Semi-Automatic Classification Plugin, Preprocessing, Split Raster Bands<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>Grass r-rgb (Processing Toolbox)<o:p></o:p></li></ol><p class=MsoNormal style='margin-bottom:12.0pt'>Any one of these tools will split the Raster for you easy enough<br>Regards,<br><br>Richard<o:p></o:p></p><div><p class=MsoNormal>On 17/01/2018 00:48, Chas Sheen wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><p class=MsoNormal><span style='font-size:9.5pt'>I split the image into R, G, B<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>Worked out in QGIS wher the Raster map calculator is.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>Run...several times<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>No result foud in Results Directory. It runs quickly then refreshes inputs and logs to blanks.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>I'm new to QGIS....so have probably left out something basic.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>Any clues<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'><img width=616 height=720 style='width:6.4166in;height:7.5in' id="_x0000_i1025" src="cid:image001.png@01D38FCB.EDB4D2A0" alt="Displaying image.png"><o:p></o:p></span></p></div></div><p class=MsoNormal><br><br><br><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>Qgis-user mailing list<o:p></o:p></pre><pre><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><o:p></o:p></pre><pre>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></pre><pre>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></pre></blockquote><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>-- <br><b><u>Richard McDonnell</u></b><br><b><span style='font-size:7.5pt'>GIS Specialist PgD GIS AssocSCSI</span></b><br><b><span style='font-size:7.5pt'>OPW FRM Data Management</span></b><br><b><span style='font-size:7.5pt'>52 Stephens Green, Dublin 2.</span></b><br><span style='font-size:7.5pt'>TEL: 01 6476543</span><o:p></o:p></p></div><p><a href="http://www.opw.ie/"><span style='text-decoration:none'><img border=0 width=405 height=225 style='width:4.2187in;height:2.3437in' id="_x0000_i1026" src="http://www.opw.ie/en/media/opw-logo-december-2016.gif"></span></a><o:p></o:p></p><p class=MsoNormal><br><br>Email Disclaimer: <a href="http://www.opw.ie/en/disclaimer/">http://www.opw.ie/en/disclaimer/</a> <o:p></o:p></p></div></body></html>