<?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: Clip a raster leaving out 'no data' in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/clip-a-raster-leaving-out-no-data/m-p/329386#M745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what you want is...&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/clip.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/clip.htm"&gt;Clip—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;see the image there as an example&lt;/P&gt;&lt;P&gt;Alternately, if you know the physical extent of the area you want, you can set it prior to using a copy raster&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note... you can also clip the raster, and the mask prior to performing extract by mask.&lt;/P&gt;&lt;P&gt;Just make sure that you specify the exact same cell size, extent and snap raster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2018 11:56:37 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-07-20T11:56:37Z</dc:date>
    <item>
      <title>Clip a raster leaving out 'no data'</title>
      <link>https://community.esri.com/t5/arcmap-questions/clip-a-raster-leaving-out-no-data/m-p/329385#M744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a big raster A (9000 x 2000 pixels) and I want to clip out a small portion of it B (500 x 500 pixels).&lt;/P&gt;&lt;P&gt;When I do this using EXTRACT BY MASK, the result raster C is still 9000 x 2000 pixels with only the small B portion containing data and the rest with 'no data' cells.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I can 'hide' the border and it's fine &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;if all I wanted was to make maps&lt;/SPAN&gt;. However, I am looking to export the matrix into Matlab for further processing, and this issue not only makes the file unnecessarily bigger but also when exporting as a .tif it adds a white border to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've seen this issue asked in many forums, since many years, but I can't find a definitive answer (or at least one that works at all for me).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ame&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 10:39:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/clip-a-raster-leaving-out-no-data/m-p/329385#M744</guid>
      <dc:creator>AmericaZelada</dc:creator>
      <dc:date>2018-07-20T10:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Clip a raster leaving out 'no data'</title>
      <link>https://community.esri.com/t5/arcmap-questions/clip-a-raster-leaving-out-no-data/m-p/329386#M745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what you want is...&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/clip.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/clip.htm"&gt;Clip—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;see the image there as an example&lt;/P&gt;&lt;P&gt;Alternately, if you know the physical extent of the area you want, you can set it prior to using a copy raster&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note... you can also clip the raster, and the mask prior to performing extract by mask.&lt;/P&gt;&lt;P&gt;Just make sure that you specify the exact same cell size, extent and snap raster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 11:56:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/clip-a-raster-leaving-out-no-data/m-p/329386#M745</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-07-20T11:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Clip a raster leaving out 'no data'</title>
      <link>https://community.esri.com/t5/arcmap-questions/clip-a-raster-leaving-out-no-data/m-p/329387#M746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had tried this before, but I was specifying the extent with a rectangular polygon. When doing this it adds an odd border around the polygon I realised (why? don't know...)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I got the vertices' coordinates from my rectangular polygon and used them instead.&lt;/P&gt;&lt;P&gt;I made sure I snapped the raster (they where already same cell size), and yeah 'No data' cells are not there any longer &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have made my life better &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ame&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 14:58:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/clip-a-raster-leaving-out-no-data/m-p/329387#M746</guid>
      <dc:creator>AmericaZelada</dc:creator>
      <dc:date>2018-07-20T14:58:28Z</dc:date>
    </item>
  </channel>
</rss>

