<?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: Select field value A based on largest polygon with field value B in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517597#M17185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would you join it back to the original. It is now a standalone table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2015 17:44:48 GMT</pubDate>
    <dc:creator>TylerDaig</dc:creator>
    <dc:date>2015-06-04T17:44:48Z</dc:date>
    <item>
      <title>Select field value A based on largest polygon with field value B</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517594#M17182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a set of polygons that have been dissected into sub-polygons to reflect spatial values.&amp;nbsp; I need to select the spatial value of the largest sub-polygon to use to describe the entire polygon.&amp;nbsp; I thought Dissolve would work, but it does not always return the spatial value for the largest polygon.&amp;nbsp; Here is an example of the table:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Acres&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Loc1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Loc1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Loc1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to be able to assign Value N to the Loc1 polygon (dissolved on 'Name') because the largest sub-poly value is N.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried various Dissolves, Selects, etc. but cannot get a file with the correct values.&amp;nbsp; I also really can't use grid files because the area of the polygon needs to remain consistent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 20:10:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517594#M17182</guid>
      <dc:creator>BettyAlex</dc:creator>
      <dc:date>2012-01-19T20:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Select field value A based on largest polygon with field value B</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517595#M17183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a set of polygons that have been dissected into sub-polygons to reflect spatial values.&amp;nbsp; I need to select the spatial value of the largest sub-polygon to use to describe the entire polygon.&amp;nbsp; I thought Dissolve would work, but it does not always return the spatial value for the largest polygon.&amp;nbsp; Here is an example of the table:&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Acres&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;BR /&gt;Loc1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&lt;BR /&gt;Loc1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N&lt;BR /&gt;Loc1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to be able to assign Value N to the Loc1 polygon (dissolved on 'Name') because the largest sub-poly value is N.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;I've tried various Dissolves, Selects, etc. but cannot get a file with the correct values.&amp;nbsp; I also really can't use grid files because the area of the polygon needs to remain consistent.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do it in more than one step.&amp;nbsp; Use Summary Statistics to get the Max Acres for each Name.&amp;nbsp; Join the Summary to the original and select where ABS(Acres - Max_Acres) &amp;lt; .001.&amp;nbsp; Then export that set of records or resumarize it to get the Value field of the largest polygon.&amp;nbsp; Join that result to all of your original records and recalculate the Value.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 20:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517595#M17183</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2012-01-19T20:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select field value A based on largest polygon with field value B</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517596#M17184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the QUICK reply! I was trying to figure out a series of steps like that, but kept hitting spots that don't work.&amp;nbsp; I'll try it first thing in the morning!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 20:23:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517596#M17184</guid>
      <dc:creator>BettyAlex</dc:creator>
      <dc:date>2012-01-19T20:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Select field value A based on largest polygon with field value B</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517597#M17185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would you join it back to the original. It is now a standalone table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 17:44:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517597#M17185</guid>
      <dc:creator>TylerDaig</dc:creator>
      <dc:date>2015-06-04T17:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Select field value A based on largest polygon with field value B</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517598#M17186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a standard ArcMap join on a field.&amp;nbsp; There are several ways to set it up.&amp;nbsp; For layers I often right click the layer in the Table of Contents, choose Joins and Relates, and choose Join to bring up the Join dialog.&amp;nbsp; In the Join dialog I choose the field from my layer that is related to another table, then I choose that other table and the field in that other table that matches.&amp;nbsp; Then I press OK and the fields from he Join table appear in the table view of my layer.&amp;nbsp; When you are done with the join you right click the layer, choose Joins and Relates, choose Remove Join(s), and choose Remove All.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From within a Table View a Join can be set up by expanding the Table Options button (ArcMap 10.0 and above), and then using the same menu options that are available from the Layers context menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Geoprocessing tool equivalent is the Join tool and the Remove Join tool (for when you are done with the Join).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 17:57:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517598#M17186</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2015-06-04T17:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Select field value A based on largest polygon with field value B</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517599#M17187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply. I am getting off work now, so I will try to wing it again in the morning. I am using model builder and the join would fail saying that they have to be the same type. That is where I am getting the problem. It Will run for 5 minutes or so before it tells me that. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 18:01:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517599#M17187</guid>
      <dc:creator>TylerDaig</dc:creator>
      <dc:date>2015-06-04T18:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Select field value A based on largest polygon with field value B</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517600#M17188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot choose fields that are different fields types between the two tables.&amp;nbsp; So for example, you cannot join a String field in one table to a Numeric Field in another table.&amp;nbsp; Numeric fields may only join to Numeric fields, String fields may only join to String Fields and Date Fields may only join to Date fields.&amp;nbsp; When working in the Desktop with the menu items I mentioned, the dialog only presents fields in the Join table that are the appropriate type to match the field you chose from the Target layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Model Builder I assume there are ways to bypass the safeguards that a Desktop session provides and put in two fields to the Join tool that cannot be joined together.&amp;nbsp; Make sure the fields in both tables are the same type.&amp;nbsp; If they are not you can create a new text field in both tables (or in just one table if the other already has it as a Text field) and calculate the data into that new field (all data can convert to Text).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my original post the user would have created a Summary output with the Name field as a Case field and a Summary of MAX for the Acres field.&amp;nbsp; The Join would be from the Name field in the original table to the Name field in the Summary Statistics output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 18:10:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-field-value-a-based-on-largest-polygon-with/m-p/517600#M17188</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2015-06-04T18:10:28Z</dc:date>
    </item>
  </channel>
</rss>

