<?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: Point Shape - select by atributes max value and 20% lower in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/point-shape-select-by-atributes-max-value-and-20/m-p/549618#M7926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a subquery:&lt;/P&gt;&lt;PRE class="line-numbers language-sql"&gt;&lt;CODE&gt;GRID_CODE &lt;SPAN class="operator token"&gt;&amp;gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;MAX&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt; GRID_CODE &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;FROM&lt;/SPAN&gt; new_shapefile3&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This will return all the values that are larger than 80% of the max, so the top 20%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2016 12:05:15 GMT</pubDate>
    <dc:creator>FC_Basson</dc:creator>
    <dc:date>2016-12-14T12:05:15Z</dc:date>
    <item>
      <title>Point Shape - select by atributes max value and 20% lower</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/point-shape-select-by-atributes-max-value-and-20/m-p/549617#M7925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I state the SQL querry to select points by atributes by max value and 20% lower?&lt;/P&gt;&lt;P&gt;I have the Shapefile in a geodatabase.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to create a workflow in Model builder later but I need to prove that this analasys corresponds to the realworld manualy first. So if thers anything special to do to use the same function in model builder I would like to know that too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arcgis 10.4. - spatial analasys, 3D, ++ extention pack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm constructing an analasys workflow that indicates separate trees and corresponding hight to each tree.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 09:37:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/point-shape-select-by-atributes-max-value-and-20/m-p/549617#M7925</guid>
      <dc:creator>JohnnyJohansson</dc:creator>
      <dc:date>2016-12-14T09:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Point Shape - select by atributes max value and 20% lower</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/point-shape-select-by-atributes-max-value-and-20/m-p/549618#M7926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a subquery:&lt;/P&gt;&lt;PRE class="line-numbers language-sql"&gt;&lt;CODE&gt;GRID_CODE &lt;SPAN class="operator token"&gt;&amp;gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;MAX&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt; GRID_CODE &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;FROM&lt;/SPAN&gt; new_shapefile3&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This will return all the values that are larger than 80% of the max, so the top 20%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 12:05:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/point-shape-select-by-atributes-max-value-and-20/m-p/549618#M7926</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2016-12-14T12:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Point Shape - select by atributes max value and 20% lower</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/point-shape-select-by-atributes-max-value-and-20/m-p/549619#M7927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats works fine if I have exported the shapefile to a database, but if I have a created feture class indide a database the same querry selects everything, What I'm I doing wrong here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 11:45:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/point-shape-select-by-atributes-max-value-and-20/m-p/549619#M7927</guid>
      <dc:creator>JohnnyJohansson</dc:creator>
      <dc:date>2016-12-15T11:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Point Shape - select by atributes max value and 20% lower</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/point-shape-select-by-atributes-max-value-and-20/m-p/549620#M7928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well.... I dont see what I'm doing wrong here.... with this code I just selects everything...&lt;/P&gt;&lt;P&gt;gridcode &amp;gt;= ((SELECT MAX( GRIDCODE ) FROM PEAK_LO_111) ) *0.8&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/286523_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 15:32:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/point-shape-select-by-atributes-max-value-and-20/m-p/549620#M7928</guid>
      <dc:creator>JohnnyJohansson</dc:creator>
      <dc:date>2016-12-19T15:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Point Shape - select by atributes max value and 20% lower</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/point-shape-select-by-atributes-max-value-and-20/m-p/549621#M7929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The caps of the field name in the statement needs to be consistent eg SELECT MAX(gridcode)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 16:19:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/point-shape-select-by-atributes-max-value-and-20/m-p/549621#M7929</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2016-12-19T16:19:55Z</dc:date>
    </item>
  </channel>
</rss>

