<?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: Beta 10: Clipping multiple rasters in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141734#M8170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@jie, Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How could you do that but iterating for several rasters (one above each other)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Luc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Aug 2010 20:00:31 GMT</pubDate>
    <dc:creator>LucianoCampagnolo</dc:creator>
    <dc:date>2010-08-10T20:00:31Z</dc:date>
    <item>
      <title>Clipping multiple rasters</title>
      <link>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141725#M8161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would it be possible to clip multiple raster layers at once from the Image Analysis Window? Currently it is only possible to clip one raster layer at a time, which can be tedious if you want to clip several bands or datasets to the same view. To me this looks like a small enhancement, with great improvement to the user experience.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sabine Put&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(ESRI Nederland)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 09:48:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141725#M8161</guid>
      <dc:creator>SabinePut</dc:creator>
      <dc:date>2009-12-16T09:48:31Z</dc:date>
    </item>
    <item>
      <title>Clipping multiple rasters</title>
      <link>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141726#M8162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sabine,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes you can clip multiple images using the IAW window. In order to do this you first need to mosaic them. Select the images you want to use click the mosaic button in the processing panel. This creates a virtual mosaic function of your data. Then you can clip or export from that mosaic as you please. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this the functionality you are looking for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 15:02:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141726#M8162</guid>
      <dc:creator>RonaldBerger</dc:creator>
      <dc:date>2009-12-16T15:02:45Z</dc:date>
    </item>
    <item>
      <title>Clipping multiple rasters</title>
      <link>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141727#M8163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your quick reply! What I want is to have multiple images clipped to the same extent separately. Suppose I have a Landsat image with 8 bands as separate files, then I want my output clipped images to be 8 separate files as well. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried your suggestion, but creating a mosaic leaves me with only one image combined according to the operation (blend, mean, ...) that I choose. Or am I missing the point?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sabine&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 15:26:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141727#M8163</guid>
      <dc:creator>SabinePut</dc:creator>
      <dc:date>2009-12-16T15:26:20Z</dc:date>
    </item>
    <item>
      <title>Clipping multiple rasters</title>
      <link>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141728#M8164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sabine,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry I misunderstood your point. I thought you had several datasets adjacent to one another and you want your output clip to be a single dataset composed of the multiple datasets. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think what you are looking for can be accomplished by batch-running the GP clip tool in Data Management &amp;gt; Raster &amp;gt; Raster Processing. Here you can specify the extent, input all your datasets, and then run the tool. To do this you go to the tool &amp;gt; right-click &amp;gt; batch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think there is an easy way (a batch way) to do this through the UI besides doing each dataset separately. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 16:12:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141728#M8164</guid>
      <dc:creator>RonaldBerger</dc:creator>
      <dc:date>2009-12-16T16:12:32Z</dc:date>
    </item>
    <item>
      <title>Clipping multiple rasters</title>
      <link>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141729#M8165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the functionality of the GP clip tool is indeed what I am looking for, but then made easier with the Image Analysis Window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to include this batch functionality in the Image Analysis Window? To me it does not seem like a big effort to include it, but I can be mistaken of course :-).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Otherwise just an idea for future releases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sabine&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 06:45:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141729#M8165</guid>
      <dc:creator>SabinePut</dc:creator>
      <dc:date>2009-12-17T06:45:22Z</dc:date>
    </item>
    <item>
      <title>Raster Iterators in Model Builder</title>
      <link>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141730#M8166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your bands/stacks of rasters are in the same workspace you might want to look into using a raster iterator in model builder in tandem with the Clip Raster tool.&amp;nbsp; I think it's even easier to use than batch mode.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 23:00:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141730#M8166</guid>
      <dc:creator>EricRice</dc:creator>
      <dc:date>2009-12-17T23:00:16Z</dc:date>
    </item>
    <item>
      <title>Clipping multiple rasters</title>
      <link>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141731#M8167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Eric, this looks like a good alternative. I'll give it a try!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 06:46:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141731#M8167</guid>
      <dc:creator>SabinePut</dc:creator>
      <dc:date>2009-12-22T06:46:13Z</dc:date>
    </item>
    <item>
      <title>Clipping mutliple rasters using different shapefile "extents"</title>
      <link>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141732#M8168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using 9.3.1 and new to this forum. I posted a new thread earlier then saw that you all may be able to help me with my paticular issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to batch clip rasters using python, the "clip" is by a shapefile and when loaded inside ArcGIS UI the rectangle extent automatically updates, this is not the case when in the python scripting environment. How can I set the rectangle extent parameters in python to update/change with a new shapefile? The rasters are adjacent to each other so a new raster is clipped for a new shapefile. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I am trying to accomplish is clipping rasters without losing the cell beneath the polygon line. If that makes sense, I'm open to alternative methods/suggestions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Michelle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 19:53:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141732#M8168</guid>
      <dc:creator>MichelleGuck</dc:creator>
      <dc:date>2010-04-06T19:53:14Z</dc:date>
    </item>
    <item>
      <title>Clipping multiple rasters</title>
      <link>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141733#M8169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Michelle, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Python, you do not need to worry about the extent if you already have a clipping feature. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Clip tool syntax looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Usage: Clip_management in_raster rectangle out_raster {in_template_dataset} {nodata_value} {NONE | ClippingGeometry}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. gp.Clip_management("image.tif", "#", "clip.tif","feature.shp", "0", "ClippingGeometry")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You only need to give the path to your clipping feature for the "in_template_dataset" parameter. The tool will automatically pick up the extent of your clipping feature. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 16:56:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141733#M8169</guid>
      <dc:creator>JieZhang</dc:creator>
      <dc:date>2010-04-07T16:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Beta 10: Clipping multiple rasters</title>
      <link>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141734#M8170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@jie, Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How could you do that but iterating for several rasters (one above each other)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Luc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 20:00:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141734#M8170</guid>
      <dc:creator>LucianoCampagnolo</dc:creator>
      <dc:date>2010-08-10T20:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Beta 10: Clipping multiple rasters</title>
      <link>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141735#M8171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;@jie, Hi!&lt;BR /&gt;&lt;BR /&gt;How could you do that but iterating for several rasters (one above each other)&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Luc&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Lucc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume you mean you want to use the same feature class to clip multiple rasters?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a quick python example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;======================================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp = arcgisscripting.create()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.workspace = "c:/temp/inputras"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;rasList = gp.ListRasters()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;count = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;name = rasList.next()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while name != None:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outname = name.split(".")[0] + str(count) + ".tif"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.Clip_management(name, "#", outname,"feature.shp", "0", "ClippingGeometry")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; count = count + 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; name = rasList.next()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;=====================================&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are many different ways to do it. You can also create a model or use the batch mode of the clip tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2010 22:28:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clipping-multiple-rasters/m-p/141735#M8171</guid>
      <dc:creator>JieZhang</dc:creator>
      <dc:date>2010-08-13T22:28:33Z</dc:date>
    </item>
  </channel>
</rss>

