<?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 spatial.to_featureclass fails to overwrite network dataset in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-to-featureclass-fails-to-overwrite-network/m-p/819489#M2753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the spatially enabled dataframe (&lt;A href="https://developers.arcgis.com/python/guide/introduction-to-the-spatially-enabled-dataframe/"&gt;SEDF&lt;/A&gt;) to process a featureclass that participates in a geometric network. The python code is run on data I export from SDE into a fGDB. After I concatenate the fields I want to write the SEDF back to the fGDB. But the error code is ERROR 001919: The feature class cannot be deleted because participates in a network dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: use arcpy.Delete_management(Path_To_Geometric_Network) before calling sedf.spatial.to_featureclass(Path_To_FC_in_FGDB, overwrite = True) For my processes deleting the GN will not negatively impact my requirements from the data. Be careful and choose wisely before you delete the GN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Nov 2019 17:17:55 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-11-22T17:17:55Z</dc:date>
    <item>
      <title>spatial.to_featureclass fails to overwrite network dataset</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-to-featureclass-fails-to-overwrite-network/m-p/819489#M2753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the spatially enabled dataframe (&lt;A href="https://developers.arcgis.com/python/guide/introduction-to-the-spatially-enabled-dataframe/"&gt;SEDF&lt;/A&gt;) to process a featureclass that participates in a geometric network. The python code is run on data I export from SDE into a fGDB. After I concatenate the fields I want to write the SEDF back to the fGDB. But the error code is ERROR 001919: The feature class cannot be deleted because participates in a network dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: use arcpy.Delete_management(Path_To_Geometric_Network) before calling sedf.spatial.to_featureclass(Path_To_FC_in_FGDB, overwrite = True) For my processes deleting the GN will not negatively impact my requirements from the data. Be careful and choose wisely before you delete the GN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 17:17:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-to-featureclass-fails-to-overwrite-network/m-p/819489#M2753</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-11-22T17:17:55Z</dc:date>
    </item>
  </channel>
</rss>

