<?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 selecting maximum value of an attribute table within model builder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636154#M21185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am currently trying to automate a process within model builder that selects and extracts a new feature class based upon the maximum value from a field in the attribute table of a polygon without knowing the maximum beforehand.&amp;nbsp; i tried using the sql expression SELECT MAX("Field Name") within the select tool but it says an invalid sql expression was used.&amp;nbsp; Any thoughts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&amp;nbsp; Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Apr 2010 13:01:07 GMT</pubDate>
    <dc:creator>MichaelSutherland</dc:creator>
    <dc:date>2010-04-08T13:01:07Z</dc:date>
    <item>
      <title>selecting maximum value of an attribute table within model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636154#M21185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am currently trying to automate a process within model builder that selects and extracts a new feature class based upon the maximum value from a field in the attribute table of a polygon without knowing the maximum beforehand.&amp;nbsp; i tried using the sql expression SELECT MAX("Field Name") within the select tool but it says an invalid sql expression was used.&amp;nbsp; Any thoughts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&amp;nbsp; Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 13:01:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636154#M21185</guid>
      <dc:creator>MichaelSutherland</dc:creator>
      <dc:date>2010-04-08T13:01:07Z</dc:date>
    </item>
    <item>
      <title>selecting maximum value of an attribute table within model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636155#M21186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try the expression like this with Make Feature Layer or Select tool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"ICOUNT" = (SELECT MAX("ICount") FROM INPUT)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ICOUNT is the field that I used in my example and INPUT is the input feature class to the tool. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*This works only with feature class in a geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See Sub Queries in the SQL Reference in this help doc:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=SQL_Reference"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=SQL_Reference&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 15:42:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636155#M21186</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2010-04-09T15:42:53Z</dc:date>
    </item>
    <item>
      <title>selecting maximum value of an attribute table within model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636156#M21187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks that seems to have worked.&amp;nbsp; Is there a way to do this with raster data?&amp;nbsp; I have raster data where I'd like to select a large connected area based upon maximum pixel values.&amp;nbsp; Although the method suggested works with polygons, I'd like to the conversion to poly if possible.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 12:11:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636156#M21187</guid>
      <dc:creator>MichaelSutherland</dc:creator>
      <dc:date>2010-04-12T12:11:03Z</dc:date>
    </item>
    <item>
      <title>selecting maximum value of an attribute table within model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636157#M21188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try Make Raster Layer tool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 22:45:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636157#M21188</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2010-04-15T22:45:21Z</dc:date>
    </item>
    <item>
      <title>selecting maximum value of an attribute table within model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636158#M21189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks again for the response.&amp;nbsp; this tool would seemingly work, however when i verify my sql expression (which is the same expression as used above) i receive an error message stating 'an expected field was not found or could not be retrieved properly.'&amp;nbsp; it is weird because the query builder populates the menu with the attribute i would like to select.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i also receive an error when i try to manually select the max by selecting unique value (although not in the verification of the sqp expression but when the process is actually executed).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the input raster is within a file geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 12:44:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636158#M21189</guid>
      <dc:creator>MichaelSutherland</dc:creator>
      <dc:date>2010-04-20T12:44:30Z</dc:date>
    </item>
    <item>
      <title>selecting maximum value of an attribute table within model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636159#M21190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would try something like the attached image. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pls read more about Precondition:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Example_of_a_precondition"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Example_of_a_precondition&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;about using inline variable substitution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=In-line_variable_substitution"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=In-line_variable_substitution&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 21:06:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636159#M21190</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2010-04-20T21:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: selecting maximum value of an attribute table within model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636160#M21191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I have raster data where I'd like to select a large connected area based upon maximum pixel values. &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If you're seriously looking for a large connected area you may have to do some processing using the tool Region Group, which finds connected areas with the same raster value. Would you then want to choose the largest connected area with a maximum pixel value? Perhaps you could describe your problem with a little more detail?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 05:06:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-maximum-value-of-an-attribute-table/m-p/636160#M21191</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2015-05-20T05:06:02Z</dc:date>
    </item>
  </channel>
</rss>

