<?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: Selecting polygon with maximum value in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/selecting-polygon-with-maximum-value/m-p/434000#M14615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Once you generate the summary table, use the Model Only Tool "Get Field Value."&amp;nbsp; You can use this to return the value of the Summary Statistics Max Value for the field. You could then use the value to do other querys or analysis.&amp;nbsp; It should look something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]21980[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2013 11:09:36 GMT</pubDate>
    <dc:creator>JackBeers_III</dc:creator>
    <dc:date>2013-02-20T11:09:36Z</dc:date>
    <item>
      <title>Selecting polygon with maximum value</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-polygon-with-maximum-value/m-p/433997#M14612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using a polygon shapefile and I want to select the polygon with the highest value. I am trying to implement this in ModelBuilder using ArcGIS Desktop v. 10.1. Ideally I want to select the maximum record and then use that selection to conduct additional analyses. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 09:20:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-polygon-with-maximum-value/m-p/433997#M14612</guid>
      <dc:creator>PaulMcKenzie</dc:creator>
      <dc:date>2013-02-19T09:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting polygon with maximum value</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-polygon-with-maximum-value/m-p/433998#M14613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Dear all&lt;BR /&gt;&lt;BR /&gt;I am using a polygon shapefile and I want to select the polygon with the highest value. I am trying to implement this in ModelBuilder using ArcGIS Desktop v. 10.1. Ideally I want to select the maximum record and then use that selection to conduct additional analyses. &lt;BR /&gt;&lt;BR /&gt;Any advice greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you, &lt;BR /&gt;&lt;BR /&gt;Paul&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Generate a summary table and use the maximum value from it to do your selection.&amp;nbsp; Subqueries are very limited, so summary tables are the way to go.&amp;nbsp; A join back to the original to do selections allows you to continue the processing on the original dataset.&amp;nbsp; Be aware that Maximum only works for numeric fields, not text or date fields.&amp;nbsp; First works for text and date, but that dies not necessarily return the lowest alphabetic value or date value, just the first record in the table for the query criteria.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 19:01:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-polygon-with-maximum-value/m-p/433998#M14613</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-02-19T19:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting polygon with maximum value</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-polygon-with-maximum-value/m-p/433999#M14614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Many thanks for your reply. I had read about linking "Summary Statistics" with a tabular join. When you say&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"join back to the original to do selections"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;do you mean a tabular join? The problem is that after the summary statistics, all I have is the Maximum value and an ID value - is there a simple means by which I can also return the value of that polygon which has the maximum value? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 10:46:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-polygon-with-maximum-value/m-p/433999#M14614</guid>
      <dc:creator>PaulMcKenzie</dc:creator>
      <dc:date>2013-02-20T10:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting polygon with maximum value</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-polygon-with-maximum-value/m-p/434000#M14615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Once you generate the summary table, use the Model Only Tool "Get Field Value."&amp;nbsp; You can use this to return the value of the Summary Statistics Max Value for the field. You could then use the value to do other querys or analysis.&amp;nbsp; It should look something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]21980[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 11:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-polygon-with-maximum-value/m-p/434000#M14615</guid>
      <dc:creator>JackBeers_III</dc:creator>
      <dc:date>2013-02-20T11:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting polygon with maximum value</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-polygon-with-maximum-value/m-p/434001#M14616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Many thanks for your reply. I had read about linking "Summary Statistics" with a tabular join. When you say&lt;BR /&gt;&lt;BR /&gt;"join back to the original to do selections"&lt;BR /&gt;&lt;BR /&gt;do you mean a tabular join? The problem is that after the summary statistics, all I have is the Maximum value and an ID value - is there a simple means by which I can also return the value of that polygon which has the maximum value? &lt;BR /&gt;&lt;BR /&gt;Thanks again for your help,&lt;BR /&gt;&lt;BR /&gt;Paul&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually, normally for this type of analysis I do not use the ID value, because every record will be exported in the summary or an arbitrary min or max ID value will be outputted.&amp;nbsp; I usually create a dummy field and make every record have the same value in that field (for example all records have 1 in that field).&amp;nbsp; That is that case field that I summarize and tabular join to.&amp;nbsp; The summary produces the Max value for the table or current selection.&amp;nbsp; I use the join and a select by Attribute (Select from current selection if the summary was on a selection set) and find the record with a value equal to the max summary value (actually I really us a range relative to the Max value that is very small if the field is a double, i.e., Table.NumberField &amp;gt;= SummaryTable.MAX_NumberField - .0001 AND Table.NumberField &amp;lt;= SummaryTable.MAX_NumberField + .0001, because there can be slight rounding of the value during the summary that prevents the use of = ).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 13:20:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-polygon-with-maximum-value/m-p/434001#M14616</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-02-20T13:20:39Z</dc:date>
    </item>
  </channel>
</rss>

