<?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: Any help with Arcpy Merge Management? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/any-help-with-arcpy-merge-management/m-p/452241#M35442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the support will keep this in mind moving forward with any post!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Nov 2019 15:24:05 GMT</pubDate>
    <dc:creator>TravisMcClain</dc:creator>
    <dc:date>2019-11-14T15:24:05Z</dc:date>
    <item>
      <title>Any help with Arcpy Merge Management?</title>
      <link>https://community.esri.com/t5/python-questions/any-help-with-arcpy-merge-management/m-p/452237#M35438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I am currently trying to automate some processes in arcmap with python and running into an issue with the Merge_Management Function. When I ran the tool through arcmap it merged the four seperate shapefiles together and was able to move to the next step and when I ran the code to test to make sure the merged worked I checked the output folder and it created it like I needed it too. Just when I add the next step to the code it gives me the Error 000732 stating that the merge layer doesn't exist or is not supported. I have ran the process in a new script and set the varible to that path for the shapefile and it works just not in the larger code moving to the next step. I would like the merge to work it would cut down on some lines of code. Any help would be appericated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the snippet of code the stuff before works without issues:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#This will intersect the gaps shapefile with the members shapefile to see if any members fall in the gaps produced&lt;BR /&gt; print("Intersecting Gap Layer with Members Layer")&lt;BR /&gt;#This is the Intersection of Large Metro County Gaps with Member Data&lt;BR /&gt; large_metro_members_intersect = arcpy.Intersect_analysis([large_metro_erase_analysis,member],"large_members_intersect","ALL","","")&lt;BR /&gt;#This is the Intersection of Metro County Gaps with Member Data&lt;BR /&gt; metro_members_intersect = arcpy.Intersect_analysis([metro_erase_analysis,member],"metro_members_intersect","ALL","","")&lt;BR /&gt;#This is the Itersection of Micro County Gaps with Member Data&lt;BR /&gt; micro_members_intersect = arcpy.Intersect_analysis([micro_erase_analysis,member],"micro_members_intersect","ALL","","")&lt;BR /&gt;#This is the Intersection of Rural County Gaps with Member Data&lt;BR /&gt; rural_members_intersect = arcpy.Intersect_analysis([rural_erase_analysis,member],"rural_members_intersect","ALL","","")&lt;BR /&gt;#This merges all the member data together&lt;BR /&gt; merged_member_data = arcpy.Merge_management([large_metro_members_intersect,metro_members_intersect,micro_members_intersect,rural_members_intersect],"merged_member_data")&lt;BR /&gt;#Performing Summary Statistics to gather total number of members for each gap&lt;BR /&gt; print("Producing Summary Table for Total Members in Gap Locations")&lt;BR /&gt; summary_table_members=arcpy.Statistics_analysis(merged_member_data, "merged_member_data_Statistic", statistics_fields="Count1 SUM", case_field="NAME")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the results page:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make XY event layer&lt;BR /&gt;Feature Layer to Shapefile&lt;BR /&gt;CheckedOut&lt;BR /&gt;Running Process&lt;BR /&gt;Done with Service Area Generation&lt;BR /&gt;Starting Erase Analysis Process&lt;BR /&gt;Intersecting Gap Layer with Members Layer&lt;BR /&gt;Producing Summary Table for Total Members in Gap Locations&lt;BR /&gt;Executing: Statistics C:\\Users\\34289980\\Desktop\\local_test\\Buckeye\merged_member_data C:\\Users\\34289980\\Desktop\\local_test\\Buckeye\merged_member_data_Statistic "Count1 SUM" NAME&lt;BR /&gt;Start Time: Thu Nov 14 09:28:52 2019&lt;BR /&gt;Failed to execute. Parameters are not valid.&lt;BR /&gt;ERROR 000732: Input Table: Dataset C:\\Users\\34289980\\Desktop\\local_test\\Buckeye\merged_member_data does not exist or is not supported&lt;BR /&gt;Failed to execute (Statistics).&lt;BR /&gt;Failed at Thu Nov 14 09:28:52 2019 (Elapsed Time: 0.00 seconds)&lt;BR /&gt;6.0 minutes&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also attached is the arccatalog screen that shows that the merge shapefile is created and is in the output folder along with the other shapefiles created from the script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again any help would be amazing to help me understand why the next step isn't reading the merge layer. Thank you#&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 14:42:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/any-help-with-arcpy-merge-management/m-p/452237#M35438</guid>
      <dc:creator>TravisMcClain</dc:creator>
      <dc:date>2019-11-14T14:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Any help with Arcpy Merge Management?</title>
      <link>https://community.esri.com/t5/python-questions/any-help-with-arcpy-merge-management/m-p/452238#M35439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Travis,&lt;/P&gt;&lt;P&gt;I would try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;merged_member_data &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"C:\Buckeye\merged_member_data.shp"&lt;/SPAN&gt;

arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Merge_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;large_metro_members_intersect&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;metro_members_intersect&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;micro_members_intersect&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;rural_members_intersect&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;merged_member_data&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;


&lt;SPAN class="comment token"&gt;#Performing Summary Statistics to gather total number of members for each gap&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;"Producing Summary Table for Total Members in Gap Locations"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
summary_table_members&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Statistics_analysis&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;merged_member_data&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"merged_member_data_Statistic"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; statistics_fields&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Count1 SUM"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; case_field&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"NAME"&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;/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>Sat, 11 Dec 2021 20:10:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/any-help-with-arcpy-merge-management/m-p/452238#M35439</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-11T20:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Any help with Arcpy Merge Management?</title>
      <link>https://community.esri.com/t5/python-questions/any-help-with-arcpy-merge-management/m-p/452239#M35440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/analysis/summary-statistics.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/analysis/summary-statistics.htm"&gt;Summary Statistics—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #4c4c4c; font-family: 'Avenir Next W01','Avenir Next W00','Avenir Next','Avenir','Helvetica Neue',sans-serif; font-size: 14.8px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;The input can be an INFO table, a dBASE table, an OLE DB table, a VPF table, or a feature class.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your script produces&lt;/P&gt;&lt;P&gt;Dataset C:\\Users\\34289980\\Desktop\\local_test\\Buckeye\merged_member_data&lt;/P&gt;&lt;P&gt;If it isn't a featureclass, you might want to generate a dbase table by ensuring the output file name is appended with *.dbf&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2016/08/14/script-formatting"&gt;/blogs/dan_patterson/2016/08/14/script-formatting&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would help us provide line numbers and readability&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 14:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/any-help-with-arcpy-merge-management/m-p/452239#M35440</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-11-14T14:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Any help with Arcpy Merge Management?</title>
      <link>https://community.esri.com/t5/python-questions/any-help-with-arcpy-merge-management/m-p/452240#M35441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you this worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 15:23:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/any-help-with-arcpy-merge-management/m-p/452240#M35441</guid>
      <dc:creator>TravisMcClain</dc:creator>
      <dc:date>2019-11-14T15:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Any help with Arcpy Merge Management?</title>
      <link>https://community.esri.com/t5/python-questions/any-help-with-arcpy-merge-management/m-p/452241#M35442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the support will keep this in mind moving forward with any post!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 15:24:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/any-help-with-arcpy-merge-management/m-p/452241#M35442</guid>
      <dc:creator>TravisMcClain</dc:creator>
      <dc:date>2019-11-14T15:24:05Z</dc:date>
    </item>
  </channel>
</rss>

