<?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: Issue with dissolve in Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43442#M3424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mergeBuffer = "mergeBuffer"&lt;/P&gt;&lt;P&gt;out = "newBuffer"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.Dissolve_management(mergeBuffer, out, "Id", "", "MULTI_PART", "DISSOLVE_LINES")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the scripting which is driving the dissolve, nothing fancy.&amp;nbsp; Everything up until this point is not generating any problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 17:58:19 GMT</pubDate>
    <dc:creator>BradGawron</dc:creator>
    <dc:date>2015-03-04T17:58:19Z</dc:date>
    <item>
      <title>Issue with dissolve in Python</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43440#M3422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/legacyfs/online/68226_pastedImage_0.png"&gt;&lt;IMG class="image-1 jive-image" height="869" src="https://community.esri.com/legacyfs/online/68226_pastedImage_0.png" style="max-width:1600px; max-;" width="1600" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above screenshot shows the result of a dissolve function on some data in New York.&amp;nbsp; The dissolve scripting is set such that it should dissolve into one single feature, but as you can see above, there is a geographic division going on. Anything with any part north of a line is one feature. When I run the dissolve tool in the Map interface it dissolves into one feature with no issue, any idea why I am getting a split?&amp;nbsp; Even when I try to dissolve twice, in case its a batch issue, it returns this.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 17:31:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43440#M3422</guid>
      <dc:creator>BradGawron</dc:creator>
      <dc:date>2015-03-04T17:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dissolve in Python</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43441#M3423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May get some hints if you post your script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 17:39:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43441#M3423</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-03-04T17:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dissolve in Python</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43442#M3424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mergeBuffer = "mergeBuffer"&lt;/P&gt;&lt;P&gt;out = "newBuffer"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.Dissolve_management(mergeBuffer, out, "Id", "", "MULTI_PART", "DISSOLVE_LINES")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the scripting which is driving the dissolve, nothing fancy.&amp;nbsp; Everything up until this point is not generating any problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 17:58:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43442#M3424</guid>
      <dc:creator>BradGawron</dc:creator>
      <dc:date>2015-03-04T17:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dissolve in Python</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43443#M3425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you've checked that "mergeBuffer" is what you think it is. Can't do much else than inspect your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 18:05:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43443#M3425</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-03-04T18:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dissolve in Python</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43444#M3426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Few thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, you are dissolving based on the ID field, do the north and south parts have different ID numbers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second you are running this as part of a larger script it sounds like, perhaps you have a selection that was not cleared from an earlier operation which is only dissolving selected features?&amp;nbsp; If you could post more of your script, perhaps that could be helpful in finding the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 18:29:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43444#M3426</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2015-03-04T18:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dissolve in Python</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43445#M3427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I considered the ID field difference, to mitigate that I inserted an extra line of text that reset the Id field just prior to this step.&amp;nbsp; No go.&amp;nbsp; I tried by using no dissolve field.&amp;nbsp; No go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To test and see if it was an issue of selection, I created a script that just dissolves the penultimate shapefile.&amp;nbsp; Again, this is the outcome.&amp;nbsp; And, to make matters worse, the north/south division shifts upwards and downwards randomly each time it is run.&amp;nbsp; Maybe it is an issue of the system parsing it out to make the processing easier?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 18:37:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43445#M3427</guid>
      <dc:creator>BradGawron</dc:creator>
      <dc:date>2015-03-04T18:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dissolve in Python</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43446#M3428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, so when I import the script as a tool in arcMap, it runs without a hitch.&amp;nbsp; This problem only happens when the tool runs in IDLE or command line.&amp;nbsp; So, it would seem the script is fine.&amp;nbsp; Anybody?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 18:41:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43446#M3428</guid>
      <dc:creator>BradGawron</dc:creator>
      <dc:date>2015-03-04T18:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dissolve in Python</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43447#M3429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kinda sounds like its not processing all of your polygons in the dissolve each time.&amp;nbsp; How many do you have to dissolve?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I'm guessing that it has nothing to do with North vs South, but more based on it processing X number of polygons, in order of FID or OID and stops at a certain point.&amp;nbsp; Are you working with a shapefile or GDB Feature Class?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 18:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43447#M3429</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2015-03-04T18:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dissolve in Python</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43448#M3430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think a lot has to do with the number of vertices.&amp;nbsp; It's around 70000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried running the process using both shapefiles and GDB feature classes and neither made a difference.&amp;nbsp; The script seems to be doing a Dice automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 19:16:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43448#M3430</guid>
      <dc:creator>BradGawron</dc:creator>
      <dc:date>2015-03-04T19:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dissolve in Python</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43449#M3431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an older topic for you to take a look at about the problems with Dissolve with medium to large datasets.&amp;nbsp; It could be useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/88813"&gt;Solution to: Dissolve tool does not fully dissolve medium-size dataset&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 19:24:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-dissolve-in-python/m-p/43449#M3431</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2015-03-04T19:24:43Z</dc:date>
    </item>
  </channel>
</rss>

