<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Extract one band from 3 band raster in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118429#M6748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you select the band within the raster and not the raster itself?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Mar 2013 16:55:59 GMT</pubDate>
    <dc:creator>ScottRoberts</dc:creator>
    <dc:date>2013-03-11T16:55:59Z</dc:date>
    <item>
      <title>Extract one band from 3 band raster</title>
      <link>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118425#M6744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ArcGIS 10 SP2, Windows XP&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know there must be a simple solution to this, but I haven't found it yet.&amp;nbsp; Is there a way to extract one band from a 3-band raster and output that to a new one-band raster dataset?&amp;nbsp; I see there is a tool for composite bands, for making several rasters into one raster.&amp;nbsp; But how to you go the other direction?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 16:59:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118425#M6744</guid>
      <dc:creator>StephanieSnider</dc:creator>
      <dc:date>2011-06-27T16:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extract one band from 3 band raster</title>
      <link>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118426#M6745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the composite bands tool will accomplish this. You can drill into the raster and input the desired band to the tool. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 17:16:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118426#M6745</guid>
      <dc:creator>RobertBerger</dc:creator>
      <dc:date>2011-06-27T17:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extract one band from 3 band raster</title>
      <link>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118427#M6746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh, I see.&amp;nbsp; You have to select the band within the raster and not the raster itself.&amp;nbsp; Got it.&amp;nbsp; I can use the copy Raster tool.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 17:30:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118427#M6746</guid>
      <dc:creator>StephanieSnider</dc:creator>
      <dc:date>2011-06-27T17:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Extract one band from 3 band raster</title>
      <link>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118428#M6747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In case anyone needs to do this in batch mode like myself, here's some python to help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import arcpy module&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;origin = "E:\\SDEstage\\Unloaded\\3-band\\"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.workspace = origin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RasterList = arcpy.ListRasters()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RasterList2 = []&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Remove the ".tif" in order to create raster name that will store in FGD&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for x in range(len(RasterList)):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [INDENT]RasterList2 = RasterList2 + [RasterList&lt;X&gt;[:-4]][/INDENT]&lt;/X&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for i in range(len(RasterList2)):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [INDENT]# Set Tif and Band #&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TiftoLoad = origin + RasterList2&lt;I&gt; + ".tif\\Band_1"&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Since these tif file names begin with a number, add letter to beginning in order to store in FGD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dest = "E:\\SDEstage\\Rasters.gdb\\A" + RasterList2&lt;I&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Copy raster&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyRaster_management(TiftoLoad, dest, "", "", "", "NONE", "NONE", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Converted " + RasterList2&lt;I&gt;[/INDENT]&lt;/I&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 23:31:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118428#M6747</guid>
      <dc:creator>StephanieSnider</dc:creator>
      <dc:date>2011-06-27T23:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extract one band from 3 band raster</title>
      <link>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118429#M6748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you select the band within the raster and not the raster itself?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 16:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118429#M6748</guid>
      <dc:creator>ScottRoberts</dc:creator>
      <dc:date>2013-03-11T16:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Extract one band from 3 band raster</title>
      <link>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118430#M6749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's one way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcCatalog - Contents tab - click on the name of the raster and it will drill down to the individual bands. Drag each band from ArcCatalog into the Composite Bands tool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 15:15:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/extract-one-band-from-3-band-raster/m-p/118430#M6749</guid>
      <dc:creator>FionaGregory</dc:creator>
      <dc:date>2014-05-02T15:15:37Z</dc:date>
    </item>
  </channel>
</rss>

