<?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: Overwrite a service from a spatial data frame in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/overwrite-a-service-from-a-spatial-data-frame/m-p/1118429#M6832</link>
    <description>&lt;P&gt;You can update the feature layer with new spatial data frame. For example:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# convert merged spatial data frame to feature set
updated_features = merged_sdf.spatial.to_featureset()
# update the feature layer
update_result = feature_layer.edit_features(updates=updated_features)&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 18 Nov 2021 22:17:47 GMT</pubDate>
    <dc:creator>J_R_Matchett</dc:creator>
    <dc:date>2021-11-18T22:17:47Z</dc:date>
    <item>
      <title>Overwrite a service from a spatial data frame</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/overwrite-a-service-from-a-spatial-data-frame/m-p/1118136#M6827</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I have a feature layer which needs to be updated with data from a csv.&lt;/P&gt;&lt;P&gt;I covert the feature layer to a spatial dataframe. And&amp;nbsp; convert the csv to a dataframe. Then I do a pd.merge on both. As a test I overwrote the spatialdataframe to a featureclass in my gdb, and it works just fine!&lt;/P&gt;&lt;P&gt;Why is there not such an option for the to_feature_layer?&amp;nbsp; It does not let me overwrite just like in te to_featureclass option.&lt;/P&gt;&lt;P&gt;I am trying with the manager overwrite using the feature class I just updated as the data source, it does return success but the feature layer remains the same.&lt;/P&gt;&lt;P&gt;Is there any other way to overwrite a featurelayer using the spatial data frame?&lt;/P&gt;&lt;P&gt;I&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 13:43:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/overwrite-a-service-from-a-spatial-data-frame/m-p/1118136#M6827</guid>
      <dc:creator>ErikaJimenez_Rivera1</dc:creator>
      <dc:date>2021-11-18T13:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite a service from a spatial data frame</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/overwrite-a-service-from-a-spatial-data-frame/m-p/1118429#M6832</link>
      <description>&lt;P&gt;You can update the feature layer with new spatial data frame. For example:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# convert merged spatial data frame to feature set
updated_features = merged_sdf.spatial.to_featureset()
# update the feature layer
update_result = feature_layer.edit_features(updates=updated_features)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 Nov 2021 22:17:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/overwrite-a-service-from-a-spatial-data-frame/m-p/1118429#M6832</guid>
      <dc:creator>J_R_Matchett</dc:creator>
      <dc:date>2021-11-18T22:17:47Z</dc:date>
    </item>
  </channel>
</rss>

