<?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: Make raster-clipping work, or keep &amp;quot;Extract by Mask&amp;quot; from altering raster-cell values.  (Pro 3.1.2) in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1312074#M71453</link>
    <description>&lt;P&gt;Thanks Luke.&amp;nbsp; For me, the most important bit of your reply is where you say the cell values have not changed.&amp;nbsp; Can you explain/confirm this?&amp;nbsp; I almost never work with rasters (hence my struggle here) and am not sure how to compare one raster's cell value to that of another.&amp;nbsp; In all my tests, what appears to happen is that the clipping process reevaluates the clipped raster, reassigning values from min to max, which will change those values if, for example, the removed portions were higher and/or lower values than what remains.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2023 15:52:41 GMT</pubDate>
    <dc:creator>JohnBranum</dc:creator>
    <dc:date>2023-07-26T15:52:41Z</dc:date>
    <item>
      <title>Make raster-clipping work, or keep "Extract by Mask" from altering raster-cell values.  (Pro 3.1.2)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1311776#M71425</link>
      <description>&lt;P&gt;Hi All.&amp;nbsp; Super sorry this is so long, but it's complex stuff.&lt;/P&gt;&lt;P&gt;I'm trying to clip a 48-MB, 1-band raster.&amp;nbsp; I started with Toolboxes' "Clip Raster" tool but gave-up after waiting half a day.&amp;nbsp; Checking this forum, it was suggested to instead&amp;nbsp;"Extract by Mask", which actually worked, and quickly, but upon close examination, it appears to have reevaluated and modified the resulting raster's cell values.&amp;nbsp; Below, you'll see where all values have been elevated/lightened.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original raster - group of cells:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="JohnBranum_0-1690312860933.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/76282i9C8D31A39F2FB30B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohnBranum_0-1690312860933.png" alt="JohnBranum_0-1690312860933.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnBranum_5-1690315932731.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/76297i680BD29D62FDAF25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohnBranum_5-1690315932731.png" alt="JohnBranum_5-1690315932731.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Extracted raster - same group of cells:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="JohnBranum_1-1690312883662.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/76283i062B97BB2C4249BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohnBranum_1-1690312883662.png" alt="JohnBranum_1-1690312883662.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnBranum_4-1690315894140.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/76296i95ED37932B10371D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohnBranum_4-1690315894140.png" alt="JohnBranum_4-1690315894140.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Both rasters above still claim a single-band value range of 0-81, but the Extracted raster appears to have "overexposed" the data, lightening all its values and eliminating its highest.&amp;nbsp; My guess is that the process clips out the unwanted cells, then reevaluates what remains, redistributing the value spectrum across the new-raster cells.&amp;nbsp; The Raster Information tables throw all sorts of red flags too, namely, Columns, Rows, Size, Pixel Type and Depth, NoData Value, and Pyramids, so it seems evident that &lt;EM&gt;Extract by Mask&lt;/EM&gt; might not work here, since most of these parameters are not editable in the tool's Environments.&lt;/P&gt;&lt;P&gt;Alternatively, via Pro's tabs, the &lt;EM&gt;Analysis &amp;gt; Clip&amp;nbsp;&lt;/EM&gt;tool (Analysis &amp;gt; Raster &amp;gt; Raster Functions &amp;gt; System &amp;gt; Data Management &amp;gt; Clip)&amp;nbsp;offers even fewer parameter adjustments.&lt;/P&gt;&lt;P&gt;This leads me to believe that the &lt;EM&gt;Geoprocessing &amp;gt; Clip Raster&amp;nbsp;&lt;/EM&gt;tool (Geoprocessing &amp;gt; Toolboxes &amp;gt; Data Management Tools &amp;gt; Raster &amp;gt; Raster Processing &amp;gt; Clip Raster), which does allow adjustment of many of the Raster Information parameters, is the only way to clip without losing data (assuming that IS what's actually happening).&lt;/P&gt;&lt;P&gt;So my questions are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is there a way&amp;nbsp;Extract by Mask can work without altering the original cell values?&amp;nbsp; If not,&lt;/LI&gt;&lt;LI&gt;Will&amp;nbsp;&lt;EM&gt;Geoprocessing &amp;gt; Clip Raster&amp;nbsp;&lt;/EM&gt;tool eventually work if i let it spin long enough?&amp;nbsp; If so,&lt;/LI&gt;&lt;LI&gt;Is there an adjustable parameter that will retain the original raster-cell values?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 21:51:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1311776#M71425</guid>
      <dc:creator>JohnBranum</dc:creator>
      <dc:date>2023-07-25T21:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Make raster-clipping work, or keep "Extract by Mask" from altering raster-cell values.  (Pro 3.1.2)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1311868#M71431</link>
      <description>&lt;P&gt;Can't reproduce.&amp;nbsp;&lt;SPAN&gt;Extract by Mask maintains cell values, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example - using Identify to show cell values at the same point in both original large raster and the extracted raster:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luke_Pinner_1-1690344145279.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/76313i4F1BBF55759A9C7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luke_Pinner_1-1690344145279.png" alt="Luke_Pinner_1-1690344145279.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Of course your extent, n. rows/columns and min/max cell statistics will change, because you clipped/extracted out a smaller area.&amp;nbsp; &amp;nbsp;But the actual cell values remain the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rasters/cells may even look different in the map but the values themselves have not changed. This is simply&amp;nbsp;because the symbology will have changed (as the statistics are different).&amp;nbsp; You can make them look the same by changing the symbology.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luke_Pinner_2-1690344389872.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/76314i1829F4A91DA5F3A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luke_Pinner_2-1690344389872.png" alt="Luke_Pinner_2-1690344389872.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 06:04:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1311868#M71431</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2023-07-26T06:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Make raster-clipping work, or keep "Extract by Mask" from altering raster-cell values.  (Pro 3.1.2)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1311897#M71434</link>
      <description>&lt;P&gt;Also, as your raster cells appear rotated in the screenshots, it looks like you are trying to run the clip in a different projection than the raster is in which is probably why it's taking so long.&amp;nbsp; Change your map /tool environments spatial reference system to match that of the original raster.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 07:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1311897#M71434</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2023-07-26T07:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Make raster-clipping work, or keep "Extract by Mask" from altering raster-cell values.  (Pro 3.1.2)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1312074#M71453</link>
      <description>&lt;P&gt;Thanks Luke.&amp;nbsp; For me, the most important bit of your reply is where you say the cell values have not changed.&amp;nbsp; Can you explain/confirm this?&amp;nbsp; I almost never work with rasters (hence my struggle here) and am not sure how to compare one raster's cell value to that of another.&amp;nbsp; In all my tests, what appears to happen is that the clipping process reevaluates the clipped raster, reassigning values from min to max, which will change those values if, for example, the removed portions were higher and/or lower values than what remains.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 15:52:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1312074#M71453</guid>
      <dc:creator>JohnBranum</dc:creator>
      <dc:date>2023-07-26T15:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Make raster-clipping work, or keep "Extract by Mask" from altering raster-cell values.  (Pro 3.1.2)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1312863#M71510</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You can manually check by subtracting one from the other.&amp;nbsp; You'll get all zero values where they overlap.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 22:11:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1312863#M71510</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2023-07-27T22:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Make raster-clipping work, or keep "Extract by Mask" from altering raster-cell values.  (Pro 3.1.2)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1312901#M71515</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/8590"&gt;@JohnBranum&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;In all my tests, what appears to happen is that the clipping process reevaluates the clipped raster, reassigning values from min to max, which will change those values if, for example, the removed portions were higher and/or lower values than what remains.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I think what you are referring to there is what happens to the symbology which is just a visual representation. It doesn't change the underlying values though.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 23:36:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1312901#M71515</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2023-07-27T23:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Make raster-clipping work, or keep "Extract by Mask" from altering raster-cell values.  (Pro 3.1.2)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1312905#M71516</link>
      <description>&lt;P&gt;Really the only way you might get the pixel values actually changing is if the output coordinate system&amp;nbsp; is different and the raster gets resampled when it is reprojected.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 23:49:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1312905#M71516</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2023-07-27T23:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Make raster-clipping work, or keep "Extract by Mask" from altering raster-cell values.  (Pro 3.1.2)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1314617#M71649</link>
      <description>&lt;P&gt;That's great, Luke.&amp;nbsp; That's what i needed to know.&amp;nbsp; Much appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 15:30:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-raster-clipping-work-or-keep-quot-extract-by/m-p/1314617#M71649</guid>
      <dc:creator>JohnBranum</dc:creator>
      <dc:date>2023-08-02T15:30:20Z</dc:date>
    </item>
  </channel>
</rss>

