<?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: Raster Clipping in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313500#M4378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes! Ok, the model builder is exactly what I want to do. I built the model as shown but I am getting the error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" ERROR 000581: Invalid Parameters. Failed to execute (Reclassify). "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2015 18:33:10 GMT</pubDate>
    <dc:creator>MichaelBrown3</dc:creator>
    <dc:date>2015-02-17T18:33:10Z</dc:date>
    <item>
      <title>Raster Clipping</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313493#M4371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I have multiple rasters that I would like to clip to a single extent. All data is orthorectified geotiffs in the same projection. There is Identical pixel overlay. The extent I would like to clip the rasters to is where they all have data. Basically, I'm looking for the maximum area where they all have data so I can do time change analysis on the area. Now, I see where and how I can do this in arc tools, but I need a polygon shapefile in order to do so. I don't have the information to create a polygon with the boundaries I desire (where all rasters overlay). &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;Question:&lt;/SPAN&gt; Is there any way to clip multiple rasters to where they all overlay without the use of a polygon? And if there isnt, how can I clip this data with a polygon to obtain what I am after?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Michael -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 15:36:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313493#M4371</guid>
      <dc:creator>MichaelBrown3</dc:creator>
      <dc:date>2015-02-17T15:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Clipping</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313494#M4372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My main question for you is, are you trying to remove pixel values (e.g. '0') or NoData?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on your data, it may be possible to mosaic the rasters together using either minimum or maximum as the mosaic operator, in order to identify the pixels where data exists for all rasters. For example, if you want to identify and remove all '0' pixels, then mosaicking with maximum would identify those where all rasters had '0', and vice versa if you want to remove '255' (or other max number). If you are trying to ignore NoData values, I believe they should automatically remove themselves from the mosaic. Once you have your mosaic, you should be able to convert to polygon for your clipping mask.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 17:00:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313494#M4372</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-02-17T17:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Clipping</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313495#M4373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have the exact answer, but can throw out some thoughts.&amp;nbsp; It sounds like two things need to be figured out:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; When looking at all the raster datasets, what is the extent they all have data.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Then raster clip to this extent, but without a polygon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An Idea:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have the Spatial Analyst Extension, it may be possible to add the rasters together and come up with a raster that represents the extent of all data.&amp;nbsp; Be careful that when adding rasters that when a No Data pixel and a Data pixel are summed that the Data pixel predominates.&amp;nbsp; This raster addition process could be via Raster Calculator, or by a loop in Modelbuilder or Python.&amp;nbsp; Then use Raster Clip &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000009n000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000009n000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; with the raster you derived as the clipping extent.&amp;nbsp; If you have many rasters, Modelbuilder or Python will come in handy to run through the clipping of all them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 17:10:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313495#M4373</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2015-02-17T17:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Clipping</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313496#M4374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to do a combination of both responses. I want to ignore 0's in my data and extract the extent (whatever that may be) where all rasters have actual data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 1). Will mosaicing work if all my rasters are imagery of the same location? I dont need to stitch them together, just remove the O's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And a new question... Apparently one of my rasters dont line up exactly with the others. It is still ortho rectified, and a geotiff, but the pixels dont align with the others. Advice on aligning this raster with the others? Snap raster? Resample? I dont know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 17:26:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313496#M4374</guid>
      <dc:creator>MichaelBrown3</dc:creator>
      <dc:date>2015-02-17T17:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Clipping</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313497#M4375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a small nit-pick, if you add NoData to Data in Raster Calculator, you will be left with NoData. You can get around it by using Con(IsNull("raster"), "otherraster", "raster") and setting the processing extent to the entire shared area.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 17:27:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313497#M4375</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-02-17T17:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Clipping</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313498#M4376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use the following workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Use model builder to convert the rasters into simple polygons&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a) Use Iterate Raster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b) Reclassify the background value (e.g. 0) to NoData, while rest of the values (255 is the maximum value among all raster data, in my example) to 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c) Convert the Raster to polygon.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/62786_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/62787_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Use intersect (Analysis) to get the common area of interest of all the polygons.&lt;/P&gt;&lt;P&gt;3)Use the above intersected polygon to intersect the rasters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.esri.com/legacyfs/online/62788_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 17:30:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313498#M4376</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2015-02-17T17:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Clipping</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313499#M4377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured that might be an issue, which is why I included the warning.&amp;nbsp; Thanks for posting the code - I wasn't sure what the exact solution to get around that was.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 18:19:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313499#M4377</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2015-02-17T18:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Clipping</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313500#M4378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes! Ok, the model builder is exactly what I want to do. I built the model as shown but I am getting the error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" ERROR 000581: Invalid Parameters. Failed to execute (Reclassify). "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 18:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313500#M4378</guid>
      <dc:creator>MichaelBrown3</dc:creator>
      <dc:date>2015-02-17T18:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Clipping</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313501#M4379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you send a snapshot of the reclassify tool in Modelbuilder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 19:01:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313501#M4379</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2015-02-17T19:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Clipping</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313502#M4380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright, so I got this model to work beautifully (Tip-of-the-hat to Jayanta Poddar).&lt;/P&gt;&lt;P&gt;So ignore the error message I recently posted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My next question is how to align the pixels exactly. The rasters are in the same format, projection, reference, etc... but the cell sizes differ + or - .005. Is there a way to align these slightly off rasters? My searches keep returning "snap raster" but I don't know how...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: How do I put rasters on the same grid? (I think is my question?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Michael -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 19:13:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313502#M4380</guid>
      <dc:creator>MichaelBrown3</dc:creator>
      <dc:date>2015-02-17T19:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Clipping</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313503#M4381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding a &lt;STRONG&gt;Resample (Data Management)&lt;/STRONG&gt; tool at the desired point. I guess you could do it at the end. After clipping the rasters&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 19:29:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313503#M4381</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2015-02-17T19:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Clipping</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313504#M4382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can override the Snap Raster environment (align the output raster grid to a specified raster) at any tool in your model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) Right-click the tool, choose Properties.&lt;/P&gt;&lt;P&gt;2.) Select Snap Raster inside Processing Extent&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.PNG" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/62778_1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;3.) Click Values&lt;/P&gt;&lt;P&gt;4.) Expand Processing Extent&lt;/P&gt;&lt;P&gt;5.) Enter Raster to snap output grid to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 19:41:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-clipping/m-p/313504#M4382</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-02-17T19:41:07Z</dc:date>
    </item>
  </channel>
</rss>

