<?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: Exporting to Shapefile Slow in Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/exporting-to-shapefile-slow-in-python/m-p/107472#M8303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Through python... do you have the relevant script or is it too long to post?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Apr 2017 18:28:01 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-04-13T18:28:01Z</dc:date>
    <item>
      <title>Exporting to Shapefile Slow in Python</title>
      <link>https://community.esri.com/t5/python-questions/exporting-to-shapefile-slow-in-python/m-p/107471#M8302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;I need to update a 3rd-Party vendor with updated centerlines, address points, and parcel shapefiles form our SDE.&amp;nbsp; I can do it though ArcMap and ArcCatalog&amp;nbsp; by right-clicking on the feature in the TOC and exporting to shapefile.&amp;nbsp;It takes about 2 minutes to manually run the entire export process for all three.&amp;nbsp; When I try to do the same through Python, the address points and centerlines takes about a minute to process and the parcels takes over 12 hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My parcels are for the entire county and there are only about 67K records.&amp;nbsp; The shapefile DBF is 191Mb when I run it manually.&amp;nbsp;&amp;nbsp; I have tried both FeatureClassToShapefile_conversion as well as CopyFeatures_management.&amp;nbsp; Both take a ridiculous amount of time to process parcels into a shapefile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 18:26:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-to-shapefile-slow-in-python/m-p/107471#M8302</guid>
      <dc:creator>JulioGarrido</dc:creator>
      <dc:date>2017-04-13T18:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting to Shapefile Slow in Python</title>
      <link>https://community.esri.com/t5/python-questions/exporting-to-shapefile-slow-in-python/m-p/107472#M8303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Through python... do you have the relevant script or is it too long to post?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 18:28:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-to-shapefile-slow-in-python/m-p/107472#M8303</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-04-13T18:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting to Shapefile Slow in Python</title>
      <link>https://community.esri.com/t5/python-questions/exporting-to-shapefile-slow-in-python/m-p/107473#M8304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not long at all.&amp;nbsp; Very basic. (attached)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 19:23:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-to-shapefile-slow-in-python/m-p/107473#M8304</guid>
      <dc:creator>JulioGarrido</dc:creator>
      <dc:date>2017-04-13T19:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting to Shapefile Slow in Python</title>
      <link>https://community.esri.com/t5/python-questions/exporting-to-shapefile-slow-in-python/m-p/107474#M8305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script is simple,&amp;nbsp; &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/conversion-toolbox/feature-class-to-feature-class.htm"&gt;Featureclass to featureclass&lt;/A&gt;&amp;nbsp;would have been my first try... but then you failed to mention that this is ArcMap 9.3.&amp;nbsp; It also appears that python isn't getting its fair share of server face time which I suspect is the real culprit.&amp;nbsp; Only suggestions for speeding up would be to save local and monitor your cpu useage during the process to see if memory is maxing out.&amp;nbsp; If it runs speedily through the arcmap interface, there is no obvious reason why the script is running slower other than competition for memory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 19:47:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/exporting-to-shapefile-slow-in-python/m-p/107474#M8305</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-04-13T19:47:47Z</dc:date>
    </item>
  </channel>
</rss>

