<?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: Mass edit/create features before committing them to the server in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/mass-edit-create-features-before-committing-them/m-p/1405233#M11321</link>
    <description>&lt;P&gt;For data insert, have you looked into &lt;A href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic28926.html" target="_self"&gt;the insert cursor?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For further details, please refer to &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geodatabase#editing-in-add-in-mode" target="_self"&gt;the conceptual doc&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 14:56:32 GMT</pubDate>
    <dc:creator>Aashis</dc:creator>
    <dc:date>2024-04-03T14:56:32Z</dc:date>
    <item>
      <title>Mass edit/create features before committing them to the server</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/mass-edit-create-features-before-committing-them/m-p/1403911#M11312</link>
      <description>&lt;P&gt;Hello. I have an made an add-in that deals with lots of data, which are found in a remote server.&lt;/P&gt;&lt;P&gt;One query to the server is ~0.5 seconds. I quickly learnt that it's much faster to make &lt;STRONG&gt;one&lt;/STRONG&gt; query to the server at the start, and get all the needed data locally (in a memory geodatabase), and then do all my calculations and queries there, where the queries are as good as instant.&lt;/P&gt;&lt;P&gt;But then, I need to update or create a bunch of features on the server. That takes about ~0.5 seconds per feature (as in, each feature.Store() and each featureclass.CreateRow(...) takes ~0.5 seconds), which really add up when I am dealing with thousands of features.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's also really important that all edited features retain historic/versioning data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More details about the performance, before I saved all data locally, my tool took more than 5 hours to run on about 2000 polyline features.&lt;/P&gt;&lt;P&gt;Now, on an area with 86000 polyline features, it takes around 10 minutes to get all the data locally, 10 minutes to do all the calculations, and over 2 hours just to create/edit features according to the calculations that are already done. Which, to me, is crazy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do all the edits/creations, and then s end them to the server all at once, instead of doing it one-by-one?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 16:22:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/mass-edit-create-features-before-committing-them/m-p/1403911#M11312</guid>
      <dc:creator>FanisDeligiannis</dc:creator>
      <dc:date>2024-04-01T16:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Mass edit/create features before committing them to the server</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/mass-edit-create-features-before-committing-them/m-p/1405233#M11321</link>
      <description>&lt;P&gt;For data insert, have you looked into &lt;A href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic28926.html" target="_self"&gt;the insert cursor?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For further details, please refer to &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geodatabase#editing-in-add-in-mode" target="_self"&gt;the conceptual doc&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 14:56:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/mass-edit-create-features-before-committing-them/m-p/1405233#M11321</guid>
      <dc:creator>Aashis</dc:creator>
      <dc:date>2024-04-03T14:56:32Z</dc:date>
    </item>
  </channel>
</rss>

