<?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 Zonal Statistics SUM pixels excluded in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1009740#M35033</link>
    <description>&lt;P&gt;I got administrative maps level 1 shapefile from GADM [gad,.org] and Agriculture production Geotiffs from SPAM [mapspam.info] and run Zonal Statistics as Table SUM&lt;/P&gt;&lt;P&gt;The picture shows that for region VEN.15_1 the calculate sum is much smaller than the value in the indicated pixel, which centroid is within the region.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IvanLucena1_0-1608042535955.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/2231i8EE29C55D60556FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IvanLucena1_0-1608042535955.png" alt="IvanLucena1_0-1608042535955.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That problem repeats throughout the whole world producing results that differ from other tools that does include pixels like this one.&lt;/P&gt;&lt;P&gt;Is there are parameter that need to changed in order for the tool to change the behavior.&lt;/P&gt;&lt;P&gt;Thanks for any suggestion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2020 14:32:58 GMT</pubDate>
    <dc:creator>IvanLucena1</dc:creator>
    <dc:date>2020-12-15T14:32:58Z</dc:date>
    <item>
      <title>Zonal Statistics SUM pixels excluded</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1009740#M35033</link>
      <description>&lt;P&gt;I got administrative maps level 1 shapefile from GADM [gad,.org] and Agriculture production Geotiffs from SPAM [mapspam.info] and run Zonal Statistics as Table SUM&lt;/P&gt;&lt;P&gt;The picture shows that for region VEN.15_1 the calculate sum is much smaller than the value in the indicated pixel, which centroid is within the region.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IvanLucena1_0-1608042535955.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/2231i8EE29C55D60556FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IvanLucena1_0-1608042535955.png" alt="IvanLucena1_0-1608042535955.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That problem repeats throughout the whole world producing results that differ from other tools that does include pixels like this one.&lt;/P&gt;&lt;P&gt;Is there are parameter that need to changed in order for the tool to change the behavior.&lt;/P&gt;&lt;P&gt;Thanks for any suggestion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 14:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1009740#M35033</guid>
      <dc:creator>IvanLucena1</dc:creator>
      <dc:date>2020-12-15T14:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Zonal Statistics SUM pixels excluded</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1009744#M35035</link>
      <description>&lt;P&gt;I'd make sure that everything is in the same projection initially.&amp;nbsp; I'm guessing that's not a stretched pixel value (It looks like the unstretched value - I only ask because i'm not that familiar with Pro tbh).&lt;/P&gt;&lt;P&gt;You're probably going to have a lot of edge effects since your pixels are very large relative to the zones (I believe the pixel is only counted if its centre intersects the zone) but that's not the issue obviously.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 14:44:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1009744#M35035</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-12-15T14:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Zonal Statistics SUM pixels excluded</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1009795#M35042</link>
      <description>&lt;P&gt;check the input shapefile to see if it is a multipart shape.&amp;nbsp; Run MultipartToSinglepart on it if it is&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 17:08:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1009795#M35042</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-12-15T17:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Zonal Statistics SUM pixels excluded</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1010027#M35071</link>
      <description>&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;I am looking at your post, and I would like to know more about it before I try to explain the result.&lt;/P&gt;&lt;P&gt;Can you please let me know:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What version of the software you are using?&lt;/LI&gt;&lt;LI&gt;What is the cell size of the value raster?&lt;/LI&gt;&lt;LI&gt;Are you executing the tool with a default environment or specifying anything such as extent, cell size, snap raster or output coordinate system, or a combination?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you are interested to share the data with me for further investigation, let me know. I look forward to your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sarmistha&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 01:14:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1010027#M35071</guid>
      <dc:creator>SarmisthaChatterjee</dc:creator>
      <dc:date>2020-12-16T01:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Zonal Statistics SUM pixels excluded</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1010141#M35087</link>
      <description>&lt;P&gt;Hi Sarmistha,&lt;/P&gt;&lt;P&gt;1 - I am using ArcPro 2.6.3&lt;/P&gt;&lt;P&gt;2 - Raster cell size is 0.083333 x 0.083333&amp;nbsp;&lt;/P&gt;&lt;P&gt;3 - No. I didn't change any environment option because I wanted to compare what would be the results without other software that do it with default parameters.&lt;/P&gt;&lt;P&gt;3.A - After posting this screenshot I tried some other options. I reduced the cell size in half and I also tried to rasterize the feature layer and use it as the input zona data. The results were not good.&lt;/P&gt;&lt;P&gt;The data is freely available and it shouldn't take much time to get it.&lt;/P&gt;&lt;P&gt;The GADM Level 1 (States/Provinces administrative borders) can be downloaded as Shapefile from gadm.org/download_world.html&lt;/P&gt;&lt;P&gt;Using the link &lt;SPAN&gt;"shapefiles" after &lt;/SPAN&gt;"&lt;SPAN&gt;download this version as six separate layers" and&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Level 1 layer have the file name "gadm36_1.shp"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For the raster value file,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I am using is the SPAM Palm Oil global production map from 2010.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It can be downloaded from &lt;/SPAN&gt;&lt;SPAN&gt;mapspam.info/data/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Search for "&lt;/SPAN&gt;SPAM 2010 v2.0 Global Data (Updated 2020-07-15)&lt;SPAN&gt;" and "Production" Geotiff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Palm Oil Geotiff goes file name is "spam2010V2r0_global_P_OILP_A.tif"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you so very much and my regards to the team.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ivan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 14:30:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1010141#M35087</guid>
      <dc:creator>IvanLucena1</dc:creator>
      <dc:date>2020-12-16T14:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Zonal Statistics SUM pixels excluded</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1011197#M35245</link>
      <description>&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;Thank you for the data and the details. I used your data in Zonal Statistics as Table with zone field = GID_1, and statistics type = Sum, and by keeping the Geoprocessing environment default, and got the correct output in ArcGIS Pro 2.6.3.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarmisthaChatterjee_0-1608335744079.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/2604i3910055ED970288B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarmisthaChatterjee_0-1608335744079.png" alt="SarmisthaChatterjee_0-1608335744079.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, if I change the cell size or the snap raster, the output will be different as expected due to the resampling happening with the values in the value raster during the zonal analysis.&lt;/P&gt;&lt;P&gt;We need to make sure that you are using the default environment. Please send me all the parameters that you have used in the Zonal Statistics as Table tool, and the environment values of cell size, output coordinate system, extent and snap raster, so that I can investigate further.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Sarmistha&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 23:56:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1011197#M35245</guid>
      <dc:creator>SarmisthaChatterjee</dc:creator>
      <dc:date>2020-12-18T23:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Zonal Statistics SUM pixels excluded</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1011241#M35252</link>
      <description>&lt;P&gt;Hi Sarmistha,&lt;/P&gt;&lt;P&gt;I think it all comes down to my interpretation of&amp;nbsp; what "ignore NoData in calculations" means.&lt;/P&gt;&lt;P&gt;I unchecked that parameter thinking "I don't want the tool to ignore the existence of the NoData tag in that GeoTiff and I certainly don't want the values to be part of the computation".&lt;/P&gt;&lt;P&gt;But that is the complete opposite meaning. It might by my programmer's bias or I might be have been influenced by other software. Sorry.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the NoData in that case is -1 and there is a lot of it in that area, the result might have been diminished because of it. If leave it as checked I get the same result as you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time,&lt;/P&gt;&lt;P&gt;Ivan&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 15:44:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/zonal-statistics-sum-pixels-excluded/m-p/1011241#M35252</guid>
      <dc:creator>IvanLucena1</dc:creator>
      <dc:date>2020-12-19T15:44:58Z</dc:date>
    </item>
  </channel>
</rss>

