<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial>Hi Rozalia,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial>what format is your imagery in ? Are those tif files with 
multiple (5) bands each ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial>One way you could go do about it would be to use the SCP 
plug-in with QGIS </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial><A 
href="https://fromgistors.blogspot.com/p/semi-automatic-classification-plugin.html">https://fromgistors.blogspot.com/p/semi-automatic-classification-plugin.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial>to create a band set and clip the images there as individual 
raster (one band for each tiff).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial>Another way to work around the trouble could be to use gdal 
utilities (on windows installed via the OSGEO4w installer <A 
href="http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86_64.exe">http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86_64.exe</A> )</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial>Both gdal_translate and gdalwarp can work</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial><A 
href="https://gdal.org/programs/gdal_translate.html">https://gdal.org/programs/gdal_translate.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial><A 
href="https://gdal.org/programs/gdalwarp.html">https://gdal.org/programs/gdalwarp.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial>to cut the tif. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial>One example for gdal_translate on the osgeo4w command line 
below: </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><SPAN 
class="d2edcug0 hpfvmrgz qv66sw1b c1et5uql lr9zc1uh a8c37x1j keod5gw0 nxhoafnm aigsh9s9 d3f4x2em fe6kdd0r mau55g9w c8b282yb iv3no6db jq4qci2q a3bd9o3v knj5qynh oo9gr5id"><FONT 
color=#0000ff size=2 face=Arial><STRONG>gdal_translate <FONT color=#800000>-co 
COMPRESS=DEFLATE -co PREDICTOR=2 -co ZLEVEL=9</FONT> -ot Int32 <FONT 
color=#800000>-of GTiff</FONT> -a_nodata -1 <FONT color=#800000>-a_ullr 
32.9530027131047 0.0482477475516659 36.0558767381047 -2.048247747551673</FONT> 
inputscene1.tif <FONT 
color=#800000>outinputscene1_cut_and_compressed.tif</FONT></STRONG></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT size=2><FONT 
color=#000080 face=Arial>The extent to extract above is set in the tag <FONT 
color=#ff0000><STRONG>-a_ullr</STRONG></FONT> </FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial>with upper left coordinate as 32.9530027131047 
0.0482477475516659 </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial>and lower right coordinate as 36.0558767381047 
-2.048247747551673</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial>In theory this should maintain the bands</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541353719-25032021><FONT color=#000080 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=541353719-25032021></SPAN><FONT color=#000080 size=2 
face=Arial>Cheers</FONT></DIV>
<DIV><SPAN class=541353719-25032021></SPAN><SPAN 
class=541353719-25032021></SPAN><FONT size=2><FONT face=Arial><FONT 
color=#000080>K<SPAN 
class=541353719-25032021>arsten</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN 
class=541353719-25032021></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=541353719-25032021><A 
href="http://www.terragis.net">www.terragis.net</A></SPAN></FONT></DIV>
<DIV><BR></DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Qgis-us-user 
[mailto:qgis-us-user-bounces@lists.osgeo.org] <B>On Behalf Of </B>Rosalia 
Agioutanti<BR><B>Sent:</B> Thursday, March 25, 2021 12:36<BR><B>To:</B> 
qgis-us-user@lists.osgeo.org<BR><B>Subject:</B> [Qgis-us-user] Clipping 
multispectral data<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>  Hi,
<DIV><BR></DIV>
<DIV>My name is Rozalia Agioutanti and I am a master's student at the University 
of Kentucky. For my thesis, I have to process multispectral images of a stream 
and classify the different types of vegetation that are existing.</DIV>
<DIV><BR></DIV>
<DIV>However, when I try to clip the multispectral image I am losing some of the 
multispectral bands, and I end up with a raster with only three bands (where my 
original file had five bands). I have tried many different ways to 
address this problem, like creating a shapefile and clipping the raster to 
it or drawing the boundaries of my clip on the image but nothing seems to be 
working.</DIV>
<DIV><BR></DIV>
<DIV>I would really appreciate any input that you have!</DIV>
<DIV>Thank you very much for your help in advance,</DIV>
<DIV>Rozalia</DIV></DIV></BODY></HTML>