<?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: Adding new points to an existing data layer in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/adding-new-points-to-an-existing-data-layer/m-p/304780#M10531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Python might be a good choice for you.&amp;nbsp; You will be able to manage the fields that you want to populate and add the new points very quickly.&amp;nbsp; Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="kn"&gt;import&lt;/SPAN&gt; &lt;SPAN class="nn"&gt;arcpy&lt;/SPAN&gt;

&lt;SPAN class="c"&gt;# Create insert cursor&lt;/SPAN&gt;
&lt;SPAN class="o"&gt;fc =&lt;/SPAN&gt; &lt;SPAN class="n"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;InsertCursor&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s"&gt;"c:/feature_class_add_points_to"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;
rows = arcpy.SearchCursor("c:/features_to_add")
&lt;SPAN class="c"&gt;# &lt;/SPAN&gt;
&lt;SPAN class="k"&gt;for&lt;/SPAN&gt; row in rows&lt;SPAN class="p"&gt;:&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="n"&gt;feat&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;fc&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;newRow&lt;/SPAN&gt;&lt;SPAN class="p"&gt;()&lt;/SPAN&gt;
&amp;nbsp; feat.shape = row.shape&lt;/CODE&gt;
&amp;nbsp; # set values for any other fields you want
&lt;CODE&gt;&amp;nbsp; feat.setValue("otherfield",row.otherfield)
&amp;nbsp; &lt;SPAN class="n"&gt;fc&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;insertRow&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="n"&gt;feat&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="c"&gt;# Delete cursor and row objects to remove locks on the data&lt;/SPAN&gt;&lt;/CODE&gt;
&lt;CODE&gt;del fc
&lt;SPAN class="k"&gt;del&lt;/SPAN&gt; &lt;SPAN class="n"&gt;row&lt;/SPAN&gt;
&lt;SPAN class="k"&gt;del&lt;/SPAN&gt; &lt;SPAN class="n"&gt;rows&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;CODE&gt; &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 14:35:41 GMT</pubDate>
    <dc:creator>TomSellsted</dc:creator>
    <dc:date>2021-12-11T14:35:41Z</dc:date>
    <item>
      <title>Adding new points to an existing data layer</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/adding-new-points-to-an-existing-data-layer/m-p/304779#M10530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to add additional points to a data layer that already exists. I need to add approximately 12 points to the existing map. What would be the best tool to use to accomplish this? I have tried to merge the files but that just deletes the existing attributes in the table that I need. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 16:33:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/adding-new-points-to-an-existing-data-layer/m-p/304779#M10530</guid>
      <dc:creator>JakeLysgaard</dc:creator>
      <dc:date>2015-02-27T16:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new points to an existing data layer</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/adding-new-points-to-an-existing-data-layer/m-p/304780#M10531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Python might be a good choice for you.&amp;nbsp; You will be able to manage the fields that you want to populate and add the new points very quickly.&amp;nbsp; Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="kn"&gt;import&lt;/SPAN&gt; &lt;SPAN class="nn"&gt;arcpy&lt;/SPAN&gt;

&lt;SPAN class="c"&gt;# Create insert cursor&lt;/SPAN&gt;
&lt;SPAN class="o"&gt;fc =&lt;/SPAN&gt; &lt;SPAN class="n"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;InsertCursor&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s"&gt;"c:/feature_class_add_points_to"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;
rows = arcpy.SearchCursor("c:/features_to_add")
&lt;SPAN class="c"&gt;# &lt;/SPAN&gt;
&lt;SPAN class="k"&gt;for&lt;/SPAN&gt; row in rows&lt;SPAN class="p"&gt;:&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="n"&gt;feat&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;fc&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;newRow&lt;/SPAN&gt;&lt;SPAN class="p"&gt;()&lt;/SPAN&gt;
&amp;nbsp; feat.shape = row.shape&lt;/CODE&gt;
&amp;nbsp; # set values for any other fields you want
&lt;CODE&gt;&amp;nbsp; feat.setValue("otherfield",row.otherfield)
&amp;nbsp; &lt;SPAN class="n"&gt;fc&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;insertRow&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="n"&gt;feat&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="c"&gt;# Delete cursor and row objects to remove locks on the data&lt;/SPAN&gt;&lt;/CODE&gt;
&lt;CODE&gt;del fc
&lt;SPAN class="k"&gt;del&lt;/SPAN&gt; &lt;SPAN class="n"&gt;row&lt;/SPAN&gt;
&lt;SPAN class="k"&gt;del&lt;/SPAN&gt; &lt;SPAN class="n"&gt;rows&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;CODE&gt; &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:35:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/adding-new-points-to-an-existing-data-layer/m-p/304780#M10531</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2021-12-11T14:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new points to an existing data layer</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/adding-new-points-to-an-existing-data-layer/m-p/304781#M10532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use the &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00210000000s000000"&gt;Merge &lt;/A&gt;tool, make sure you match up the fields you want to populate in the field mapping section. Instructions on how to use the field mappings control can be found &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00210000000s000000"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: technically, it sounds like you want the &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Append/001700000050000000/"&gt;Append &lt;/A&gt;tool (adds features to an existing feature class rather than creating a new feature class), but Merge is nice to use for practice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 17:53:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/adding-new-points-to-an-existing-data-layer/m-p/304781#M10532</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-02-27T17:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new points to an existing data layer</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/adding-new-points-to-an-existing-data-layer/m-p/304782#M10533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also use the data loader or object loader.&amp;nbsp; More information at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//003n0000003r000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//003n0000003r000000"&gt;ArcGIS Help - Loading data into existing feature classes or tables&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 18:36:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/adding-new-points-to-an-existing-data-layer/m-p/304782#M10533</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2015-02-27T18:36:47Z</dc:date>
    </item>
  </channel>
</rss>

