<?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: ArcGis Pro Zonal statistics as table in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080487#M11398</link>
    <description>&lt;P&gt;Unfortunately I don't know how to write python code. The drainage class looks promising - I will give it a try. Thank you very much.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Again, what are you trying to accomplish with this?&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Sorry I did not see this earlier. Well, I am just doing an initial data analysis but I want to understand if there is a positive correlation between&amp;nbsp;well contamination&amp;nbsp;concentration&amp;nbsp;(around a zone of interest) and soil type.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jul 2021 20:27:25 GMT</pubDate>
    <dc:creator>Hope-Hauptman</dc:creator>
    <dc:date>2021-07-19T20:27:25Z</dc:date>
    <item>
      <title>ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080383#M11387</link>
      <description>&lt;P&gt;I have a soil classification raster that I clipped to a 500m radius circle around central contamination points. I am trying to determine the majority soil type (hydrologic group) in the clipped rasters using the Zonal statistics as table tool but I must be doing something wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done this successfully with another raster but there was only one value in the attribute table to calculate the majority within the clip, here there are a more than one column in the attribute table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example in the picture - visually most of the buffer zones seem to have a majority blue by area (soil type B) but I would like ESRI to calculate the majority area for each circle for me...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 849px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18837i3BE890AAFE1B9566/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 17:33:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080383#M11387</guid>
      <dc:creator>Hope-Hauptman</dc:creator>
      <dc:date>2021-07-19T17:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080387#M11388</link>
      <description>&lt;P&gt;Your buffers overlap. To get correct results you need to run the Zonal Statistics (or Tabulate Area would be better so you can see more detail) tool for each circle one at a time; you could do this using modelbuilder or python iteration. There are some development efforts to avoid the overlap problem but since this is a small number I would just do the buffers one&amp;nbsp; by one.&lt;/P&gt;&lt;P&gt;Moving this to the Spatial Analyst space where lots of smart people may have more suggestions.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 17:37:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080387#M11388</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-07-19T17:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080388#M11389</link>
      <description>&lt;P&gt;This is just a small picture. I have thousands of clips.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 17:37:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080388#M11389</guid>
      <dc:creator>Hope-Hauptman</dc:creator>
      <dc:date>2021-07-19T17:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080392#M11390</link>
      <description>&lt;P&gt;I did build a tool to Weed Points (&lt;A href="https://www.arcgis.com/home/item.html?id=29707fb7f1664538871c65d7e1d9612e" target="_self"&gt;NACT&lt;/A&gt;) so you can do them in groups. But, I looked in the help and at ArcGIS Pro version 2.8 (but not ArcMap 10.8, unfortunately), &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/image-analyst/how-zonal-statistics-works.htm" target="_self"&gt;Zonal Statistics As Table&lt;/A&gt; handles overlapping polygons. How wonderful!&lt;/P&gt;&lt;P&gt;I re-read your question. If the value is in another field in the raster table besides Value, you can create a new raster of the table value you want using the Lookup tool.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 18:32:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080392#M11390</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-07-19T18:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080408#M11391</link>
      <description>&lt;P&gt;A few check-points. Please verify&lt;/P&gt;&lt;P&gt;1. Use the buffer polygon layer as&lt;STRONG&gt; Input Feature Zone Data&lt;/STRONG&gt;. For the Zone Field, use a field of unique values like "ObjectID". Ensure no "Buffer" polygon Feature part is selected in the map.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;*EDIT: Ensure there are no multipart feature in the Buffer layer. While creating the buffer from the points, the Dissolve Type parameter should be "No Dissolve".&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;2. For &lt;STRONG&gt;input value Raster&lt;/STRONG&gt;, you may use the clipped raster (or even better, the full Raster).&lt;/P&gt;&lt;P&gt;3. For &lt;STRONG&gt;Statistics Type&lt;/STRONG&gt;, check with "MAJORITY"&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 18:21:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080408#M11391</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-07-19T18:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080415#M11392</link>
      <description>&lt;P&gt;Yes check on all those boxes. I tried it again using the full raster as the input raster but instead of the majority soil hydrologic group as the majority group I get an area number for the majority? See pic.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 18:30:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080415#M11392</guid>
      <dc:creator>Hope-Hauptman</dc:creator>
      <dc:date>2021-07-19T18:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080434#M11393</link>
      <description>&lt;P&gt;Rasters are stored and manipulated as numbers not text. So to get the value in the table you probably need to do a join (Join Field is probably the easiest way to do this) to copy the hydro group value over to the table from the input raster table (Value being the join field).&lt;/P&gt;&lt;P&gt;Another thing to look out for is that the majority is not necessarily a&amp;nbsp;&lt;EM&gt;plurality,&amp;nbsp;&lt;/EM&gt;that is if a buffer has enough hydro groups, you may want to use the Tabulate Area tool instead so you can see those special cases and deal with them. This will involve a little more database work on the output, but I think it is probably worth it.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 18:46:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080434#M11393</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-07-19T18:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080435#M11394</link>
      <description>&lt;P&gt;One more thing this hydro groups are &lt;EM&gt;categories&lt;/EM&gt; and if your interest is to look at well risk, this may be best handled for this analysis by converting the cell values to a vulnerability score (say 1-10) and doing an average instead of picking the majority. Just a thought.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 18:47:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080435#M11394</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-07-19T18:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080442#M11395</link>
      <description>&lt;P&gt;Thank you - I did successfully use the tabulate area tool but I don't really need the majority area I want the majority soil class. I know I can than add field and calculate the maximum value in each object ID but since i need the category and not the number this isn't really helpful. I hope that makes sense. Like for example in the tabulate screenshot for object ID 1: soil class D has the maximum value in the first row. Bout I don't care about the numerical value - I just need to know that object ID 1 majority is soil class D and so on for the other objects. I did do this for another raster but there was only one value and it was categorical - landuse type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to share the data but it is too large of a file to upload...&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 18:58:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080442#M11395</guid>
      <dc:creator>Hope-Hauptman</dc:creator>
      <dc:date>2021-07-19T18:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080460#M11396</link>
      <description>&lt;P&gt;You can find this out using a calculate field expression to find out which field matches the maximum value row by row.&amp;nbsp; You would do this with a python code block with the Calculate Field tool, or dump the table and do it in excel and do it there. If the row by row max of the fields is equal to the column you want, that's the answer, so you can use if statements to identify which is the plurality. And maybe another to tag whether it is the majority.&lt;/P&gt;&lt;P&gt;Again, what are you trying to accomplish with this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note there are also some nice SSURGO raster layers in ArcGIS Online that have derived soil properties that can be averaged to get a value not susceptible to the plurality/majority problem. For example see &lt;A href="https://www.arcgis.com/home/item.html?id=55d0c2d32c234ce497cd30dc9bc06729" target="_self"&gt;Drainage Class&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 19:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080460#M11396</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-07-19T19:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080461#M11397</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; I did do this for another raster but there was only one value and it was categorical - landuse type.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;If you want to do it that way, the solution is to use the Reclassify tool to convert your soil types into integer codes (1,2,3,4..) (like your land use codes were), do your zonal statistics as table to find majority value, and then map the results (1,2,3,4..)&amp;nbsp; back to soil codes using an expression or lookup table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I know this seems unwieldy but is because ArcGIS rasters do not store text, they store integer or float numbers, so to do calculations on categorical data the values&amp;nbsp;&lt;EM&gt;must&amp;nbsp;&lt;/EM&gt; be integer, not text codes like "A/B".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 21:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080461#M11397</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-07-19T21:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080487#M11398</link>
      <description>&lt;P&gt;Unfortunately I don't know how to write python code. The drainage class looks promising - I will give it a try. Thank you very much.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Again, what are you trying to accomplish with this?&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Sorry I did not see this earlier. Well, I am just doing an initial data analysis but I want to understand if there is a positive correlation between&amp;nbsp;well contamination&amp;nbsp;concentration&amp;nbsp;(around a zone of interest) and soil type.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 20:27:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080487#M11398</guid>
      <dc:creator>Hope-Hauptman</dc:creator>
      <dc:date>2021-07-19T20:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080562#M11399</link>
      <description>&lt;P&gt;Something is missing. How is your current requirement different from&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-determine-dominant-land-use-type-around/m-p/1072145#M42445" target="_self"&gt;ArcGIS Pro determine dominant land use type around each point in a given area (500m buffer)&lt;/A&gt;&amp;nbsp;that you posted last month?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 21:47:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080562#M11399</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-07-19T21:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080566#M11400</link>
      <description>&lt;P&gt;Jayanta, the difference is now the input zone values are text, not integer (see my previous post). The land use codes were integers (Value field), the soil type values are in a text field in the raster table.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 21:57:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080566#M11400</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-07-19T21:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080573#M11401</link>
      <description>&lt;P&gt;Great question. Last month I also used &lt;STRONG&gt;Zonal Statistics as Table&lt;/STRONG&gt; tool to calculate majority land use but the VALUE field was the land use code (see screenshot last month). Now with my current problem the VALUE field is not what I want to calculate my statistics on. I want hydrologic soil class. Do I need to title it VALUE instead?&amp;nbsp; Another suggestion was to use the lookup tool but that did not work... Not sure what I am doing wrong.&amp;nbsp;Sorry I know this is a repetitive question and I thought I had this problem solved last month...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 22:05:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080573#M11401</guid>
      <dc:creator>Hope-Hauptman</dc:creator>
      <dc:date>2021-07-19T22:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080579#M11402</link>
      <description>&lt;P&gt;I don't have a similar data to test. Could you add just the buffer layer and the Clipped Raster layer on map, and &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/map-package.htm" target="_self"&gt;create a map package&lt;/A&gt;? Share the map package through a Google Drive, Dropbox or FTP link.&lt;/P&gt;&lt;P&gt;Let me have a look at the data.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 22:25:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080579#M11402</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-07-19T22:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080581#M11403</link>
      <description>&lt;P&gt;Remember, you can only do statistics on number codes not text codes, that is the root of your issue.&lt;/P&gt;&lt;P&gt;When I look at your raster I think the easiest approach is to use the Lookup tool with your raster as input, and specify the text field HYDROLGRP_DCD. This output raster from the Lookup tool will have a unique Value field (an integer) and your text field in it.&amp;nbsp; Run your Zonal Stats As Table on this using the Value field. Then you'll have the majority soil code (as the Value integer). To add the soil text code to the zonal stats table, use the Join Field tool with your zonal output as the input table, input field Value, the raster table (with Value and HYDROLGRP_DCD) as the join table, join field MAJORITY. This will add your soil codes into your zonal stats results.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 22:36:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080581#M11403</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-07-19T22:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080583#M11404</link>
      <description>&lt;P&gt;You are a wonderful person. I cant thank you enough - I've wasted hours on this. I almost want to edit my original question so that others struggling with this can benefit. Have a great day.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 22:36:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080583#M11404</guid>
      <dc:creator>Hope-Hauptman</dc:creator>
      <dc:date>2021-07-19T22:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGis Pro Zonal statistics as table</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080584#M11405</link>
      <description>&lt;P&gt;But you CAN edit your question! But it is good etiquette to add info in an UPDATE block to preserve the context of the responses to the thread.&amp;nbsp; Not time wasted, you have learned a lot about Spatial Analyst and rasters today!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 22:39:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/arcgis-pro-zonal-statistics-as-table/m-p/1080584#M11405</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-07-19T22:39:58Z</dc:date>
    </item>
  </channel>
</rss>

