<?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: Dissolve/ based on condition in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92875#M3174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The dissolve will only dissolve adjacent features so condition 2 will be met anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards gaps I would look at the integrate tool but be warned this will alter the existing data. I highly recommend making a copy before u do anything with it. It will also probably destroy and topology u have set up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u mean a partial field match I would probably add a new field such as higher level soil unit etc. And run a field calculator with a python code block to get the matches. I can write this when I get some time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2020 08:51:29 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2020-02-19T08:51:29Z</dc:date>
    <item>
      <title>Dissolve/ based on condition</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92874#M3173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to dissolve large&amp;nbsp; polygon feature data set(25000 units) based on 2 conditions:&lt;/P&gt;&lt;P&gt;1- by attribute value partially matched,&amp;nbsp;&amp;nbsp;(UNIT field)&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH&gt;id&lt;/TH&gt;&lt;TH&gt;Unit&amp;nbsp;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CLAY BROWN&amp;nbsp;UNIT 2&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CLAY&amp;nbsp;BROWN UNIT 3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CLAY&amp;nbsp;BROWN UNIT 4 sub unit 6&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CLAY&amp;nbsp;BROWN UNIT 5&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;2- only adjacent polygon should be dissolved. ( warning topology is not clean 100% , small gaps may appear)&lt;/P&gt;&lt;P&gt;example only rows 1,2,3 are adjacent polygon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any suggestion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 06:33:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92874#M3173</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-02-19T06:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dissolve/ based on condition</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92875#M3174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The dissolve will only dissolve adjacent features so condition 2 will be met anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards gaps I would look at the integrate tool but be warned this will alter the existing data. I highly recommend making a copy before u do anything with it. It will also probably destroy and topology u have set up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u mean a partial field match I would probably add a new field such as higher level soil unit etc. And run a field calculator with a python code block to get the matches. I can write this when I get some time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 08:51:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92875#M3174</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-02-19T08:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dissolve/ based on condition</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92876#M3175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank for your your helpful information,&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The dissolve will only dissolve adjacent features so condition 2 will be met anyway.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Yes&amp;nbsp; I mean partial field match, from the example table (Clay Brown Unit) is partial match. another Example&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1- East Soil corrected&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff;"&gt; 6th &lt;STRONG&gt;addition&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;STRONG&gt;2- East Soil corrected&lt;/STRONG&gt; 5th &lt;STRONG&gt;addition&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;3- East Soil corrected 5th sub plat&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;only 1,2 should be dissolved.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;I would love to get that python script, to test,&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 09:06:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92876#M3175</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-02-19T09:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dissolve/ based on condition</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92877#M3176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;defining&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;&amp;nbsp;multiple flags&amp;nbsp; in code block is a challenge, do I need to use regex.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 09:16:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92877#M3176</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-02-19T09:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dissolve/ based on condition</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92878#M3177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many entries are there to match to? If you list them I'll put them in the code to match. If theres hundreds I'll think of a better solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 11:31:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92878#M3177</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-02-19T11:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dissolve/ based on condition</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92879#M3178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&amp;nbsp; I am afraid&amp;nbsp;they are&amp;nbsp; hundreds. I have 25000 records, (10 feature classes).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 14:21:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92879#M3178</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-02-19T14:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dissolve/ based on condition</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92880#M3179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there an identifiable pattern to break/group the string by? If not I cant really see a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 14:34:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92880#M3179</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-02-19T14:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dissolve/ based on condition</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92881#M3180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that is the problem, there is no identifiable pattern,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 15:00:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92881#M3180</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-02-19T15:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dissolve/ based on condition</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92882#M3181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there is no pattern, you may have to break them into groups and process accordingly.&amp;nbsp; Sometimes there is no one-solves-all.&amp;nbsp; You indicate that you have 10 featureclasses but 25000 records.&amp;nbsp; It appears you are looking for a substring within a string.&amp;nbsp; If it were you could use that information to parse the data first prior to determining whether to dissolve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;cases &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'East Soil corrected 6th addition'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
         &lt;SPAN class="string token"&gt;'East Soil corrected 5th addition'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
         &lt;SPAN class="string token"&gt;'East Soil corrected 5th sub plat'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; c &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; cases&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'East Soil corrected'&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; c &lt;SPAN class="operator token"&gt;and&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'addition'&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; c&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"dissolve"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"don't dissolve"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
        
dissolve
dissolve
don't dissolve&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92882#M3181</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-10T23:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dissolve/ based on condition</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92883#M3182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, using Case statement is not an option,&amp;nbsp;&lt;SPAN style="color: #212121; background-color: #ffffff; font-size: 14.6667px;"&gt;&amp;nbsp;keeping up with it for anything new may be a pain.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 15:50:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/dissolve-based-on-condition/m-p/92883#M3182</guid>
      <dc:creator>HushamMohamed</dc:creator>
      <dc:date>2020-02-19T15:50:01Z</dc:date>
    </item>
  </channel>
</rss>

