<?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: Erase but for raster in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540367#M30655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know this is an old question, but I just encountered a need for this functionality as well, so I thought I'd share my solution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use Extract By Polygon, and set the extraction area parameter to 'OUTSIDE'. See: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Extract_by_Polygon/009z0000002q000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Extract_by_Polygon/009z0000002q000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No need to convert between vector and raster and run a series of clips and reclassifications. Just one tool and done.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2012 18:47:31 GMT</pubDate>
    <dc:creator>ThomasLaxson</dc:creator>
    <dc:date>2012-12-12T18:47:31Z</dc:date>
    <item>
      <title>Erase but for raster</title>
      <link>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540364#M30652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm looking for a tool similar to Erase_analysis but for raster source instead of a feature class. The clip feature is still vector. That is the opposite of Clip_management (leaving a hole of NoData in the result). I have found three ways to do it so far, but they all seem a little cumbersome, and I'm looking for something simpler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My possible workarounds are so far:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Convert clip feature class to raster, and call SetNull&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Create a feature class from raster extent, call erase with clip feature class, and then Clip Raster&lt;/LI&gt;&lt;LI&gt;Same as above but ExtractByMask instead of Clip Raster&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyone out there with a better idea on how to accomplish this task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I Have ArcGIS 10 / ArcInfo with spatial to play with.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 20:13:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540364#M30652</guid>
      <dc:creator>NiklasNorrthon</dc:creator>
      <dc:date>2011-02-04T20:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Erase but for raster</title>
      <link>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540365#M30653</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;Have you looked at the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Image_Analysis_window_Processing_section/009t000000m7000000/"&gt;Image Analysis window&lt;/A&gt;&lt;SPAN&gt; and the clip / mask buttons? They are very easy to use and give you quick results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The window is new at 10.0 and can be accessed from windows &amp;gt; Image Analysis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 23:20:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540365#M30653</guid>
      <dc:creator>RobertBerger</dc:creator>
      <dc:date>2011-02-04T23:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Erase but for raster</title>
      <link>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540366#M30654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I know about that one. Forgot to mention it. It does exactly what I want. My problem is only that this is one little step in a huge model. So I what I need is that functionality but as a toolbox tool, so I can connect it with other tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for mention it anyway.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Feb 2011 04:28:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540366#M30654</guid>
      <dc:creator>NiklasNorrthon</dc:creator>
      <dc:date>2011-02-05T04:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Erase but for raster</title>
      <link>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540367#M30655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know this is an old question, but I just encountered a need for this functionality as well, so I thought I'd share my solution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use Extract By Polygon, and set the extraction area parameter to 'OUTSIDE'. See: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Extract_by_Polygon/009z0000002q000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Extract_by_Polygon/009z0000002q000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No need to convert between vector and raster and run a series of clips and reclassifications. Just one tool and done.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 18:47:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540367#M30655</guid>
      <dc:creator>ThomasLaxson</dc:creator>
      <dc:date>2012-12-12T18:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Erase but for raster</title>
      <link>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540368#M30656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Additionally this can be achieved using Raster Calculator: &lt;BR /&gt;&lt;BR /&gt;SetNull( Not(IsNull( [EraseRaster] )), [OriginalRaster] )&lt;BR /&gt;&lt;BR /&gt;Note that Not must be replaced with ~ in Arc 10.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This was EXACTLY what I needed! Thanks so much for sharing!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 21:59:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540368#M30656</guid>
      <dc:creator>JoshuaTrygg</dc:creator>
      <dc:date>2013-08-29T21:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Erase but for raster</title>
      <link>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540369#M30657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see who originally posted this solution, but thanks. It saved me from having to brush up on my raster calculator. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2018 23:09:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/540369#M30657</guid>
      <dc:creator>ChrisStarbird1</dc:creator>
      <dc:date>2018-11-29T23:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Erase but for raster</title>
      <link>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/1159391#M43954</link>
      <description>&lt;P&gt;I know this is really old, but this answer was perfect, EXCEPT how do you preserve the shape of the original raster? I performed this operation and the "new raster" was clipped by the extent of the "EraseRaster" when really, I'd like the extent of the "OriginalRaster".&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 14:05:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/1159391#M43954</guid>
      <dc:creator>nmasto</dc:creator>
      <dc:date>2022-03-30T14:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Erase but for raster</title>
      <link>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/1214703#M44240</link>
      <description>&lt;P&gt;I think you could just set the extent environment variable to be the extent of the "OriginalRaster" before performing the Raster Calculation and that should solve the issue.&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/tools/environments/output-extent.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/latest/tools/environments/output-extent.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 16:55:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/erase-but-for-raster/m-p/1214703#M44240</guid>
      <dc:creator>mTylerH</dc:creator>
      <dc:date>2022-09-21T16:55:32Z</dc:date>
    </item>
  </channel>
</rss>

