<?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: Maintain OBJECTID values when importing a featureclass in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/1366459#M44883</link>
    <description>&lt;P&gt;Related:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/export-fc-while-maintaining-objectid-values/m-p/1349344" target="_self"&gt;Export FC while maintaining ObjectID values&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-enterprise-questions/intended-use-case-for-select-layer-by-location/m-p/1366416" target="_self"&gt;Intended use case for Select Layer by Location — Intersect (DBMS)?&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/spatial-defragmentation-gp-tool-to-optimize-data/idi-p/1366475" target="_self"&gt;Spatial Defragmentation GP tool to optimize data for spatial queries&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 04 Jan 2024 20:05:34 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-01-04T20:05:34Z</dc:date>
    <item>
      <title>Maintain OBJECTID values when importing a featureclass</title>
      <link>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263685#M15079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done a bit of searching on the forums and this doesn't look hopeful, but here goes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm migrating databases and want to move an SDE featureclass from the old database to the new V10 database.&amp;nbsp; However I want to copy across the OBJECTID values too.&amp;nbsp; The problem is the OBJECTID values don't get read when I import the layer to my awaiting new featureclass.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a solution to this please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried different methods of exporting and importing but the result is always the same �?? I'm unable to maintain the OBJECTID values in my new database - all the other attributes come across fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 14:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263685#M15079</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2011-11-21T14:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain OBJECTID values when importing a featureclass</title>
      <link>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263686#M15080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no method using ArcGIS tools to populate SDE-set rowid columns with previously&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;existing values.&amp;nbsp; In a number of respects this is the last thing you want anyway, since it also&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;means there is no hope for doing spatial defragmentation on database copy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 18:09:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263686#M15080</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-11-21T18:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain OBJECTID values when importing a featureclass</title>
      <link>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263687#M15081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know the intricacies of SDE, but it's a shame this can't be achieved �?? from my point of view if a dataset can exist in one SDE database with a certain sequence of OBJECTID values, then why shouldn't it exist in another with the same values?&amp;nbsp; I'm prepared to accept it can't be done, but it's a shame.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 08:48:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263687#M15081</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2011-11-22T08:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain OBJECTID values when importing a featureclass</title>
      <link>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263688#M15082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I should clarify -- If you can't change the objectid sequence, then you can't change feature order,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and that would mean you can't optimize your data. Instead, the copy uses the SDE-set IDs, which&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;allocate sequentially, without regard for previous order, leaving the opportunity for optimization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is often the case that copied rows *do* have the same rowid column value when being copied,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but because the tables are constructed using SDE-set IDs, it is not possible to guarantee it (and it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;wouldn't be possible anyway if the previous table had been edited so that the SDE-set IDs were no&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;longer sequential). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The only way to preserve objectid values would be to use database and ArcSDE tools to change the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;table to USER-set rowid, export the data, import it as USER-set, then alter the source and target&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;table registration to be SDE-set. The thing is, if you're going to do the work to make *this* happen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then you should put forth the extra effort to do the query in spatial index order, which would optimize&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;created feature order, which should result in improved performance with every query. And if you're&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;going to do that, then you should also optimize your coordinate refererence to reduce storage and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;improve query performance. And if you've made all theses changes, what difference would it make&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if the objectids were assigned in creation order, since you really shouldn't be using SDE-set rowid&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;values for external application purposes anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 10:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263688#M15082</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-11-22T10:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain OBJECTID values when importing a featureclass</title>
      <link>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263689#M15083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of using the import/export tools, try using the Copy/Paste functionality, this will preserve Object IDs from the source to the target geodatabase.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 11:45:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263689#M15083</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2011-11-22T11:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain OBJECTID values when importing a featureclass</title>
      <link>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263690#M15084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone confirm Craig's suggestion here; that OIDs are preserved using Copy/Paste?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to rollup changes from non-versioned GDBs, seeking to preserve the OIDs; the source and target feature classes would have the same name (i.e., structure_existing_area) in two GDBs (i.e., Test and Default)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- using "manual" editing (delete features in Default; select all in Test; copy; paste into Default) did not preserve the OIDs; the pasted features were all "renumbered"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- the "Copy Features" tool (with geoprocessing&amp;nbsp; option "Overwrite = on") reported success, but the paste failed; the Default feature class had zero features after the tool finished/reported success&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 16:19:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263690#M15084</guid>
      <dc:creator>GregBury</dc:creator>
      <dc:date>2014-07-17T16:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain OBJECTID values when importing a featureclass</title>
      <link>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263691#M15085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg, to clarify, the Copy/Paste functionality that I referred to in the post is the Copy/Paste functionality available through ArcCatalog/Catalog window; not using the copy/paste commands in the Editor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 16:49:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263691#M15085</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2014-07-17T16:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain OBJECTID values when importing a featureclass</title>
      <link>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263692#M15086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the manual Copy/Paste of the data and the Import/Export as XML workspace documents preserves the ObjectIDs of the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 16:49:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263692#M15086</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2014-07-17T16:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain OBJECTID values when importing a featureclass</title>
      <link>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263693#M15087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Craig and Asrujit, thanks! Your replies made things clear here. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 18:40:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/263693#M15087</guid>
      <dc:creator>GregBury</dc:creator>
      <dc:date>2014-07-18T18:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain OBJECTID values when importing a featureclass</title>
      <link>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/1280851#M44531</link>
      <description>&lt;P&gt;My issue is that I want to preserve both the object ID and GlobalID values. Export features can preserve Global ID values but doesn't preserve Object ID values. Copy/paste features preserve Object ID values, but not Global ID values. Can't edit an ID field so can't do any spatial join workarounds either.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 16:22:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/1280851#M44531</guid>
      <dc:creator>EMCAdministrator</dc:creator>
      <dc:date>2023-04-20T16:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain OBJECTID values when importing a featureclass</title>
      <link>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/1366459#M44883</link>
      <description>&lt;P&gt;Related:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/export-fc-while-maintaining-objectid-values/m-p/1349344" target="_self"&gt;Export FC while maintaining ObjectID values&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-enterprise-questions/intended-use-case-for-select-layer-by-location/m-p/1366416" target="_self"&gt;Intended use case for Select Layer by Location — Intersect (DBMS)?&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/spatial-defragmentation-gp-tool-to-optimize-data/idi-p/1366475" target="_self"&gt;Spatial Defragmentation GP tool to optimize data for spatial queries&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 04 Jan 2024 20:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/maintain-objectid-values-when-importing-a/m-p/1366459#M44883</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-01-04T20:05:34Z</dc:date>
    </item>
  </channel>
</rss>

