<?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: Tool/Python Script to Analyze Adjacent Polygons in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/tool-python-script-to-analyze-adjacent-polygons/m-p/430973#M14475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if your goal is to merge adjacent polygons by a common attribute, DISSOLVE gives you the result. You need to specify SOIL_TYPE as the Dissolve Field, and uncheck "Create multipart".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you still need to know which original polygons are merged together, use Select Layer By Location to select original polygons that are IDENTICAL TO dissolved polygons. These are the ones not merged; you can switch the selection now to get the merged ones. Use intersect or Spatial Join tool to intersect this selection with dissolved result to obtain the dissolved polygon IDs as their unique group IDs. Then use Join Field tool to transfer these IDs back to original polygons via OBJECTID and ORIG_FID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2013 20:32:31 GMT</pubDate>
    <dc:creator>DanLee</dc:creator>
    <dc:date>2013-02-12T20:32:31Z</dc:date>
    <item>
      <title>Tool/Python Script to Analyze Adjacent Polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/tool-python-script-to-analyze-adjacent-polygons/m-p/430971#M14473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a large polygon set and I want to be able to do some sort of spatial analysis to determine if adjacent polygons contain the same attribute value from one field in the attribute table (i.e. I have a field called SOIL_TYPE. If 2 adjacent polygons both have the the same SOIL_TYPE, they should be flagged and merged as one). I'm thinking there must be a tool/python script that will do this, but I've searched around and haven't com across anything. If anyone can point me in the right direction, I'd appreciate it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 16:48:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/tool-python-script-to-analyze-adjacent-polygons/m-p/430971#M14473</guid>
      <dc:creator>MikeMacRae</dc:creator>
      <dc:date>2013-02-11T16:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Tool/Python Script to Analyze Adjacent Polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/tool-python-script-to-analyze-adjacent-polygons/m-p/430972#M14474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hey everyone,&lt;BR /&gt;&lt;BR /&gt;I have a large polygon set and I want to be able to do some sort of spatial analysis to determine if adjacent polygons contain the same attribute value from one field in the attribute table (i.e. I have a field called SOIL_TYPE. If 2 adjacent polygons both have the the same SOIL_TYPE, they should be flagged and merged as one). I'm thinking there must be a tool/python script that will do this, but I've searched around and haven't com across anything. If anyone can point me in the right direction, I'd appreciate it.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Mike&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sounds like you need to use the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000005n000000"&gt;Dissolve&lt;/A&gt;&lt;SPAN&gt; tool to me.&amp;nbsp; It creates a new output, which could be used to validate the merges and then apply flags to the existing data if that is what you really want to operate on.&amp;nbsp; Once flagged then some kind of python script could do the merge in te original dataset.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 17:09:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/tool-python-script-to-analyze-adjacent-polygons/m-p/430972#M14474</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-02-11T17:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Tool/Python Script to Analyze Adjacent Polygons</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/tool-python-script-to-analyze-adjacent-polygons/m-p/430973#M14475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if your goal is to merge adjacent polygons by a common attribute, DISSOLVE gives you the result. You need to specify SOIL_TYPE as the Dissolve Field, and uncheck "Create multipart".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you still need to know which original polygons are merged together, use Select Layer By Location to select original polygons that are IDENTICAL TO dissolved polygons. These are the ones not merged; you can switch the selection now to get the merged ones. Use intersect or Spatial Join tool to intersect this selection with dissolved result to obtain the dissolved polygon IDs as their unique group IDs. Then use Join Field tool to transfer these IDs back to original polygons via OBJECTID and ORIG_FID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 20:32:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/tool-python-script-to-analyze-adjacent-polygons/m-p/430973#M14475</guid>
      <dc:creator>DanLee</dc:creator>
      <dc:date>2013-02-12T20:32:31Z</dc:date>
    </item>
  </channel>
</rss>

