<?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 Raster Issues in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1277183#M26816</link>
    <description>&lt;P&gt;try hiding the fields in the raster prior to clipping (from the fields view on the table).&lt;/P&gt;&lt;P&gt;there is no environments setting&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2023 08:39:30 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2023-04-11T08:39:30Z</dc:date>
    <item>
      <title>Clip Raster Issues</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1276455#M26810</link>
      <description>&lt;P&gt;Good day,&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When clipping a raster with shapefile geometry, I encounter two difficulties and would like to know the best practices to avoid these issues.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;First, when I make the clip, it gives me a raster that respects the boundaries of the shapefile and that doesn't have a background. That said, when I export the result in .TIF, a black background appears behind the shape that had been generated. Is there anything I can do to fix this, or is this just normal? I saw that from the symbology it was possible to click a button to remove the background, but I would like this background not to be part of the file. Maybe I am forgetting something about the theory behind raster files...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Second, I noticed that the exported TIF file size increased after the clip operation. Basically I have a 2 GB file, and the resulting clip which covers a portion of the original area is 40 GB. It doesn't seem normal to me that the result of a clip is bigger than its original file. I know I haven't given many details regarding export or clip settings, but I can provide some if needed.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I was thinking maybe these were two small fixes and that there was probably someone who had encountered these two situations before.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 04:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1276455#M26810</guid>
      <dc:creator>jopie8</dc:creator>
      <dc:date>2023-04-07T04:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Clip Raster Issues</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1276483#M26811</link>
      <description>&lt;P&gt;first, rasters will have a rectangular extent regardless of the clip shape.&amp;nbsp; The area inside the clip boundary will have values, the area/cells outside the boundary are classed as "nodata" which will have a nodata value, that is how you can toggle off that area's visibility.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, the clip operation will depend on the extent you specified, the cell size, the data type (integer/float) and a whole load of other things.&amp;nbsp; See the Environments section of this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/clip.htm" target="_blank"&gt;Clip Raster (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Tif is recommended so pay attention on what other parameters you specified in the tool&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 09:01:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1276483#M26811</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-04-07T09:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Clip Raster Issues</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1276555#M26812</link>
      <description>&lt;P&gt;Thank you very much for the reply, it is really appreciated. If I understand correctly, then it is quite normal that a clipped raster export has a background. Regardless of the clip shape, a background will be automatically generated because it is part of the structure of raster files.&lt;/P&gt;&lt;P&gt;Then, as for the file size increase after an export, this will be influenced by the parameters that I specify in the tool during the export. Usually, I use the values automatically generated by ArcGIS if there are any. I am not sure what would be the appropriate specifications here. Are there by any chance well-known and general environment settings that keep the file size reasonable after export?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can provide this dataset as an example of what I am working with, hopefully, that's helpful:&amp;nbsp;&lt;A href="https://open.canada.ca/data/en/dataset/ee1580ab-a23d-4f86-a09b-79763677eb47" target="_self"&gt;https://open.canada.ca/data/en/dataset/ee1580ab-a23d-4f86-a09b-79763677eb47&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, here I would like to use this dataset to clip the province of Quebec. The raster for all of Canada is 2 GB but the resulting clip is 40 GB...&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 15:19:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1276555#M26812</guid>
      <dc:creator>jopie8</dc:creator>
      <dc:date>2023-04-07T15:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Clip Raster Issues</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1276561#M26813</link>
      <description>&lt;P&gt;Without downloading the files, I doubt that Canada would fit into 2 GB if it had the exact same cell size and coordinate system of Quebec.&amp;nbsp; As for the extent, only clip what you need and perhaps specifying the extent of your clipping polygon would be appropriate (assuming you have one).&amp;nbsp; Every tool in ArcToolbox has an Environments tab... that is where you specify properties, like cell size, extent etc&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 15:25:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1276561#M26813</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-04-07T15:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Clip Raster Issues</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1277145#M26815</link>
      <description>&lt;P&gt;Hello, thank you for your advice. I did a little more reading and trial/error and from what I'm noticing, using a larger cell size helped exporting a smaller clipped raster in terms of file size. Also, apparently, raster images with a lower pixel bit type will result in a smaller file size than those with a higher bit type but in my case, I preferred the results I got in 16-bit than 8-bit as I seemed to lose some information in the process. I also ended up finding a bit more detail in this thread:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/best-practices-for-clipping-data-from-living-atlas/td-p/1098309" target="_self"&gt;https://community.esri.com/t5/arcgis-pro-questions/best-practices-for-clipping-data-from-living-atlas/td-p/1098309&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That said, there is still one last thing I believe I can try that could potentially help. My raster has many more than one fields in its attribute table: I wonder if it was possible from the Environments tab to specify that the export of the file is done only by keeping two fields rather than six? A bit like we would do when exporting features for a feature class.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 01:56:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1277145#M26815</guid>
      <dc:creator>jopie8</dc:creator>
      <dc:date>2023-04-11T01:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Clip Raster Issues</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1277183#M26816</link>
      <description>&lt;P&gt;try hiding the fields in the raster prior to clipping (from the fields view on the table).&lt;/P&gt;&lt;P&gt;there is no environments setting&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 08:39:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/clip-raster-issues/m-p/1277183#M26816</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-04-11T08:39:30Z</dc:date>
    </item>
  </channel>
</rss>

