<?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: Why is split by attributes different in arcpy than ARCGIS? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272166#M21025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the input is a featureclass and not a table and the target location is a folder not a geodatabase, do you get dbf's or shapefiles?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Apr 2018 17:16:13 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-04-29T17:16:13Z</dc:date>
    <item>
      <title>Why is split by attributes different in arcpy than ARCGIS?</title>
      <link>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272165#M21024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to automate a workflow in python.&amp;nbsp; If I execute the "&lt;A href="http://desktop.arcgis.com/en/arcmap/10.5/tools/analysis-toolbox/split-by-attributes.htm"&gt;split by attributes&lt;/A&gt;" tool in AGRGIS, the output is shapefiles (which is what I want).&amp;nbsp; However, if I "copy as python snippet" from the results window and paste it into a python script...the output is dbf files.&amp;nbsp; The output is being saved to a gdb.&amp;nbsp; The output is only a table whether it is saved to a folder or gdb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The python snippet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.SplitByAttributes_analysis(Input_Table="contours", Target_Workspace="C:/temp/data.gdb", Split_Fields="CONTOUR")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why doesn't arcpy generate shapefiles?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Apr 2018 15:22:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272165#M21024</guid>
      <dc:creator>MarcGillespie1</dc:creator>
      <dc:date>2018-04-29T15:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is split by attributes different in arcpy than ARCGIS?</title>
      <link>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272166#M21025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the input is a featureclass and not a table and the target location is a folder not a geodatabase, do you get dbf's or shapefiles?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Apr 2018 17:16:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272166#M21025</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-04-29T17:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why is split by attributes different in arcpy than ARCGIS?</title>
      <link>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272167#M21026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The input is always a shapefile...the output is always a dbf regardless of where it is stored.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Apr 2018 17:18:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272167#M21026</guid>
      <dc:creator>MarcGillespie1</dc:creator>
      <dc:date>2018-04-29T17:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why is split by attributes different in arcpy than ARCGIS?</title>
      <link>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272168#M21027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=15ca63aebb4647a4b07bc94f3d051da5"&gt;&lt;STRONG&gt;Split Layer by Attributes&lt;/STRONG&gt;&lt;/A&gt; the original... check the code that I used if you are in a pinch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/split-by-attributes.htm"&gt;ArcMap version&lt;/A&gt;, ... could be a bug since I don't see anything in the link or the code description that would suggest otherwise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Apr 2018 17:29:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272168#M21027</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-04-29T17:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why is split by attributes different in arcpy than ARCGIS?</title>
      <link>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272169#M21028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ITS a BUG!!!&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEwMzk1NA"&gt;https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEwMzk1NA&lt;/A&gt;==&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #595959; font-family: 'Avenir Next W01','Avenir Next W00','Avenir Next',Avenir,'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 15.8px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: 0px; line-height: 26.35px; 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; word-wrap: break-word;"&gt;The Split By Attribute script tool only generates table outputs when running in ArcCatalog and a standalone Python script. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #595959; font-family: 'Avenir Next W01','Avenir Next W00','Avenir Next',Avenir,'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 15.8px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: 0px; line-height: 26.35px; 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; word-wrap: break-word;"&gt;Status&amp;nbsp; not in current production plan&lt;/SPAN&gt;&lt;/P&gt;&lt;H2 style="background-color: transparent; color: #323232; font-family: &amp;amp;quot; avenir next w01&amp;amp;quot;,&amp;amp;quot;avenir next w00&amp;amp;quot;,&amp;amp;quot;avenir next&amp;amp;quot;,avenir,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 24px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: 0px; line-height: 26.35px; 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; margin: 0px 0px 13.09px 0px;"&gt;Alternate Solution&lt;/H2&gt;&lt;P style="background-color: transparent; color: #595959; font-family: &amp;amp;quot; avenir next w01&amp;amp;quot;,&amp;amp;quot;avenir next w00&amp;amp;quot;,&amp;amp;quot;avenir next&amp;amp;quot;,avenir,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 15.8px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: 0px; line-height: 26.35px; margin-bottom: 13.09px; margin-top: 0px; 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; word-wrap: break-word;"&gt;Run the tool in ArcMap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Apr 2018 17:39:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272169#M21028</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-04-29T17:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is split by attributes different in arcpy than ARCGIS?</title>
      <link>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272170#M21029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan!&amp;nbsp; The documentation needs to change to reflect that the &lt;STRONG&gt;&lt;EM&gt;output will always and forever be a table&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Apr 2018 17:53:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-is-split-by-attributes-different-in-arcpy-than/m-p/272170#M21029</guid>
      <dc:creator>MarcGillespie1</dc:creator>
      <dc:date>2018-04-29T17:53:49Z</dc:date>
    </item>
  </channel>
</rss>

