<?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: Writing features to a feature class by a batch process in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551632#M12218</link>
    <description>&lt;P&gt;Do I first execute Geoprocessing.MakeValueArray with the GeoJSON and the geodatabase location as the arguments? Also, how can I then specify the feature class name? Currently, we first create the feature class in the map project's default geodatabase (the name is a concatenation of a timestamp and WMS layer name), then we add the fields, then we populate the feature class one feature at a time.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2024 21:16:08 GMT</pubDate>
    <dc:creator>TyroneLigon1</dc:creator>
    <dc:date>2024-10-23T21:16:08Z</dc:date>
    <item>
      <title>Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551112#M12207</link>
      <description>&lt;P&gt;I apologize in advance that I can't post any of our code. We have an add-in that manages the display of a couple of WMS services. A feature of the add-in is the ability to export the displayed points to a feature class. We accomplish this by running a WFS request; it returns a GeoJSON list of features, which we then write to a new feature class.&lt;/P&gt;&lt;P&gt;The issue is that the user might have tens of thousands of points on the map, and in some cases over 100,000 features. The add-in iterates through this list and adds the features to the feature class one at a time. In the test I ran, it took almost 3 minutes to write about 14,000 features. We were wondering if there's a batch write method somewhere in the SDK, or maybe we incorporate a Python script to do the feature writing.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 21:53:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551112#M12207</guid>
      <dc:creator>TyroneLigon1</dc:creator>
      <dc:date>2024-10-22T21:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551172#M12208</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Have you tried to call geoprocessing tool &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/intelligence/batch-import-data.htm" target="_self"&gt;Batch import data&lt;/A&gt; from you add'in? It can import GeoJSON to featureclass.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 08:18:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551172#M12208</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-10-23T08:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551482#M12214</link>
      <description>&lt;P&gt;Can I call the tool via Geoprocessing.ExecuteToolAsync? If so, what is the tool's alias?&lt;/P&gt;&lt;P&gt;Otherwise, will I have to open the tool in the geoprocessing panel? If so, do I have to save the GeoJSON to the file system, then have the user open the file and specify the geodatabase location? Or, can I populate those fields on my own?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 18:10:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551482#M12214</guid>
      <dc:creator>TyroneLigon1</dc:creator>
      <dc:date>2024-10-23T18:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551523#M12216</link>
      <description>&lt;P&gt;Yes, You can call&amp;nbsp;&lt;SPAN&gt;Geoprocessing.ExecuteToolAsync. Tool name will be "BatchImportData_intelligence". You need to have minimum Standard ArcGIS Pro license to use that tool.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 19:01:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551523#M12216</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-10-23T19:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551632#M12218</link>
      <description>&lt;P&gt;Do I first execute Geoprocessing.MakeValueArray with the GeoJSON and the geodatabase location as the arguments? Also, how can I then specify the feature class name? Currently, we first create the feature class in the map project's default geodatabase (the name is a concatenation of a timestamp and WMS layer name), then we add the fields, then we populate the feature class one feature at a time.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 21:16:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551632#M12218</guid>
      <dc:creator>TyroneLigon1</dc:creator>
      <dc:date>2024-10-23T21:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551750#M12220</link>
      <description>&lt;P&gt;Yes, you need to create parameters first:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;        IReadOnlyList&amp;lt;string&amp;gt; importParams = Geoprocessing.MakeValueArray(@"c:\data\sourcedata", @"\\data\operationaldata.sde", "*airports*.shp", "NO_SUBFOLDERS");
        IGPResult result = await Geoprocessing.ExecuteToolAsync("intelligence.BatchImportData", importParams);
        if (result.IsFailed)
        {
          MessageBox.Show("Unable to import", "Batch import");
          return;
        }
&lt;/LI-CODE&gt;
&lt;P&gt;Parameters from documentation sample. Use yours. As I understand featureclass names will be created automatically from source names. After you can rename them.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 10:19:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1551750#M12220</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-10-24T10:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1552545#M12227</link>
      <description>&lt;P&gt;Can you give me a link to this sample? I can't find it in the Pro SDK documentation.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 20:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1552545#M12227</guid>
      <dc:creator>TyroneLigon1</dc:creator>
      <dc:date>2024-10-25T20:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1552590#M12229</link>
      <description>&lt;P&gt;Link is above. This is python sample at the bottom of page. There is no documentation for each geoprocessing tool for ArcGIS Pro SDK for .NET.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2024 18:24:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1552590#M12229</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-10-26T18:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1553111#M12240</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/247400"&gt;@TyroneLigon1&lt;/a&gt;&amp;nbsp;, The&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geodatabase#editing-with-insert-cursors" target="_blank" rel="noopener"&gt;Insert Cursor&lt;/A&gt;&amp;nbsp;API should be used for your level of bulk insertion; it is designed to insert faster rows in the Pro SDK.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 03:10:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1553111#M12240</guid>
      <dc:creator>Aashis</dc:creator>
      <dc:date>2024-10-29T03:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1553316#M12243</link>
      <description>&lt;P&gt;Sorry, I got pulled away from this project for a few days. The parameter array is failing - I believe it's because I'm directly injecting a GeoJSON list object. Do I have to save the list to the file system first?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 15:14:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1553316#M12243</guid>
      <dc:creator>TyroneLigon1</dc:creator>
      <dc:date>2024-10-29T15:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1553317#M12244</link>
      <description>&lt;P&gt;I got pulled away for a couple of days. I'll give this a shot.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 15:14:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1553317#M12244</guid>
      <dc:creator>TyroneLigon1</dc:creator>
      <dc:date>2024-10-29T15:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1553449#M12246</link>
      <description>&lt;P&gt;Yes. Documentation says that first parameter must be file or folder:&lt;/P&gt;
&lt;TABLE class="gptoolparamtbl"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TD class="th_p"&gt;Name&lt;/TD&gt;
&lt;TD class="th_e"&gt;Explanation&lt;/TD&gt;
&lt;TD class="th_d"&gt;Data Type&lt;/TD&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR id="GUID-E1C0F3B6-D70C-4F23-A437-71F9E3A9B480"&gt;
&lt;TD class="gptoolparamname"&gt;
&lt;DIV class=""&gt;in_data&lt;/DIV&gt;
&lt;DIV class="expressionhint"&gt;[in_data,...]&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;The folders containing the data files or the data files to convert to geodatabase feature classes.&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;Folder; File&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Tue, 29 Oct 2024 19:10:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1553449#M12246</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-10-29T19:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Writing features to a feature class by a batch process</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1554737#M12255</link>
      <description>&lt;P&gt;I went with the "Insert Cursor" solution. My testing indicates that our batch exports now run between 2 and 4.5 times faster.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 16:06:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/writing-features-to-a-feature-class-by-a-batch/m-p/1554737#M12255</guid>
      <dc:creator>TyroneLigon1</dc:creator>
      <dc:date>2024-11-01T16:06:01Z</dc:date>
    </item>
  </channel>
</rss>

