<?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: Copy feature classes preserving the globalid? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/copy-feature-classes-preserving-the-globalid/m-p/202052#M15554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you try the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//001700000051000000"&gt;Copy tool&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jan 2014 16:13:52 GMT</pubDate>
    <dc:creator>TimWitt</dc:creator>
    <dc:date>2014-01-15T16:13:52Z</dc:date>
    <item>
      <title>Copy feature classes preserving the globalid?</title>
      <link>https://community.esri.com/t5/python-questions/copy-feature-classes-preserving-the-globalid/m-p/202051#M15553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was using the python and Arc 10.1 with&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CreateDatabaseConnection_management and arcpy.FeatureClassToFeatureClass_conversion to make a gdb copy of our SDE schema, copying out specific feature classes to the file geodatabase...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was happy with everything until late in the game, I noticed the globalid's didnt match up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to go about this with python, copying a feature class out so that the globalids are preserved? It seems like something obvious.. I've tried a few different ways, but not much joy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alto&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 15:56:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/copy-feature-classes-preserving-the-globalid/m-p/202051#M15553</guid>
      <dc:creator>AlanHamilton1</dc:creator>
      <dc:date>2014-01-15T15:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Copy feature classes preserving the globalid?</title>
      <link>https://community.esri.com/t5/python-questions/copy-feature-classes-preserving-the-globalid/m-p/202052#M15554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you try the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//001700000051000000"&gt;Copy tool&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 16:13:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/copy-feature-classes-preserving-the-globalid/m-p/202052#M15554</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2014-01-15T16:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Copy feature classes preserving the globalid?</title>
      <link>https://community.esri.com/t5/python-questions/copy-feature-classes-preserving-the-globalid/m-p/202053#M15555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had tried the copy tool .. and the copy_features tool and the featureclasstofeatureclass tools&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the Copy .. I get a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"The operation is not supported by this implementation" ERROR 000260 when trying to copy from a feature class from a dataset in an SDE schema to a feature class in dataset in a GDB (either when the feature classes exsists in the destination prior to the copy or not) .. the dataset in the file geodatabase was created using the SDE one as a reference by the way using CreateFeatureDataset_management&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 13:18:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/copy-feature-classes-preserving-the-globalid/m-p/202053#M15555</guid>
      <dc:creator>AlanHamilton1</dc:creator>
      <dc:date>2014-01-16T13:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Copy feature classes preserving the globalid?</title>
      <link>https://community.esri.com/t5/python-questions/copy-feature-classes-preserving-the-globalid/m-p/202054#M15556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Copy_management function is being extremely inconsistent .. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wasn't able to copy the feature I was initially trying above .. ( there is nothing unusual about it .. it had a point shape, was in a dataset) .. however, I was able to copy a similar featureclass .. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'m using CreateFileGDB_management to create a file geodatabase, then CreateFeatureDataset_management to create datasets (using the source dataset as a spatial reference) then using Copy_management to copy the features over preserving the GlobalIDs&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So far, this is working for ... 12/22 feature classes .. 10 fail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The 10 that fail are all in the same source Dataset .. and fail to copy to the destination dataset (using the same process as the ones that succeed...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The 12 that succeed: 8 are in 2 different datasets and 4 of the feature classes in no dataset (root)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Source is 10.1 SDE, destination is 9.3 gbd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 08:18:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/copy-feature-classes-preserving-the-globalid/m-p/202054#M15556</guid>
      <dc:creator>AlanHamilton1</dc:creator>
      <dc:date>2014-01-17T08:18:54Z</dc:date>
    </item>
  </channel>
</rss>

