<?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: Combining File GDBs with different schema in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268159#M20663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer. The fact is that there are already File geodatabases with data inside. so i have to deal with it. The other reason for the output geodatabase to not use attachment is that further, the data should be inserted in an enterprise geodatabase (SQL Server spatially enabled). And as it uses and manages BLOB, then it's better for us to gather that information right now ready for the upload as ArcMap directly upload that format in Enterprise Geodatabases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the why!&lt;/P&gt;&lt;P&gt;But once more Thank You!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Dec 2015 17:10:50 GMT</pubDate>
    <dc:creator>ZOURMBAZOA_CINQ</dc:creator>
    <dc:date>2015-12-30T17:10:50Z</dc:date>
    <item>
      <title>Combining File GDBs with different schema</title>
      <link>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268153#M20657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I started to develop in Python for GIS since three months and It's really great! I have to combine three versions of&amp;nbsp; File GDBs into one, but the main problem is that the schema has advanced from GDB1 to GDB2: some fields name have changed and in addition, there is a raster field type column in the tables. I could have simply load the two precedent versions into even a dictionary than using arcpy.da module inserting them in the final version, using corresponding columns and and filling empty columns with null, but there is no way to download and upload raster field. I found a way to download, but not for uploading it. Can somebody help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 12:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268153#M20657</guid>
      <dc:creator>ZOURMBAZOA_CINQ</dc:creator>
      <dc:date>2015-12-28T12:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Combining File GDBs with different schema</title>
      <link>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268154#M20658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure about the raster field type issue, but for handling different schemas through arcpy, look into the &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/FieldMap/018z0000007p000000/"&gt;FieldMap&lt;/A&gt; and &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/FieldMappings/018z00000078000000/"&gt;FieldMappings&lt;/A&gt; objects (in particular, see the examples on these pages to see how to use with the &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Merge/001700000055000000/"&gt;Merge&lt;/A&gt; tool). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 18:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268154#M20658</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-12-28T18:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Combining File GDBs with different schema</title>
      <link>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268155#M20659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank You for the info; it's a good beginning. Let me try some stuffs and will return soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once more, Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 06:00:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268155#M20659</guid>
      <dc:creator>ZOURMBAZOA_CINQ</dc:creator>
      <dc:date>2015-12-29T06:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Combining File GDBs with different schema</title>
      <link>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268156#M20660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darren,&lt;/P&gt;&lt;P&gt;I advanced with your help but as you said, I found difficulties with my raster field and also shape field. Seem like it's not supported.&lt;/P&gt;&lt;P&gt;I was thinking about a loop through the arcpy.da with a searchcursor on the input table and an updatecursor on the output table, there, i could manage shape fields, but there is not a way to upload a raster to a raster field type with arcpy.&lt;/P&gt;&lt;P&gt;There is one way to handle BLOB fields but I'm I not loosing something by migrating from raster to BLOB type?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 11:45:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268156#M20660</guid>
      <dc:creator>ZOURMBAZOA_CINQ</dc:creator>
      <dc:date>2015-12-30T11:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Combining File GDBs with different schema</title>
      <link>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268157#M20661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It says it right in the documentation on the arcpy.da.UpdateCursor &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/UpdateCursor/018w00000014000000/" title="http://resources.arcgis.com/en/help/main/10.1/index.html#/UpdateCursor/018w00000014000000/"&gt;ArcGIS Help 10.1&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Raster fields are not supported.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Is there any reason why you are not using Attachments?&amp;nbsp; The other alternative I can come up with is to store paths to images on a file server, but that's going to require a lot of code to manage things and seems dangerous to lose the image-to-feature relationships if you manage this entirely outside of the database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 13:44:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268157#M20661</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2015-12-30T13:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Combining File GDBs with different schema</title>
      <link>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268158#M20662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;P&gt;This workflow might satisfy your requirement, although I'd further research the continued use of the Raster column and perhaps determine if the Attachments model is a more appropriate option for the final repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your first task is to retrieve the contents of the Raster column from the source Feature Class.&amp;nbsp; If you will ultimately want to populate the destination with Attachments then you will need to establish a unique value for each feature and name the output image with that value.&amp;nbsp; Here I have an "Imgs" column representing the Raster column and "DBKEY" column that is simple a text type that has 5 character values unique to each feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;def writeRasFldContents():
&amp;nbsp;&amp;nbsp;&amp;nbsp; #set the env workspace, otherwise it will write results to C:\users... dir
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.env.workspace = r'H:\saveFolder'
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.env.overwriteOutput = True
&amp;nbsp;&amp;nbsp;&amp;nbsp; #specify an output folder to write out the Raster column images
&amp;nbsp;&amp;nbsp;&amp;nbsp; output_path = r'H:\saveFolder'
&amp;nbsp;&amp;nbsp;&amp;nbsp; os.chdir(output_path)
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; #input FeatureClass with the Raster column you wish to write out to a blob field
&amp;nbsp;&amp;nbsp;&amp;nbsp; fc = r'H:\Documents\ArcGIS\Default.gdb\XY01TEST'
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; #write the images from the raster column, skipping any nulls or else it will error
&amp;nbsp;&amp;nbsp;&amp;nbsp; with arcpy.da.SearchCursor(fc, ("Imgs", "DBKEY"), skip_nulls=True) as cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename = "{0}.tif".format(row[1])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row[0].save(filename)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print filename
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del row
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del filename&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that we have a file folder of output images in a folder and each relates back to each feature, you can now go thru the process to setup Attachments on the SDE feature class (just use the Geoprocessing tools to perform this).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you simply want to add a blob field onto the source feature class and populate it with the Raster column, these two additional def's will accomplish that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;def writeBlobs():

&amp;nbsp;&amp;nbsp;&amp;nbsp; fc = r'H:\Documents\ArcGIS\Default.gdb\XY01TEST'
&amp;nbsp;&amp;nbsp;&amp;nbsp; input_path = r'H:\saveFolder'
&amp;nbsp;&amp;nbsp;&amp;nbsp; full_file_paths = get_filepaths(input_path)
&amp;nbsp;&amp;nbsp;&amp;nbsp; for f in full_file_paths:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if f.endswith(".tif"):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imgname = os.path.basename(f)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbkey = os.path.splitext(imgname)[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expr = "DBKEY= '" + dbkey + "'"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print expr
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfile = open(f, 'rb').read()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #Imgs2 is the new blob column to populate the imgs
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; with arcpy.da.UpdateCursor(fc, ['Imgs2'], expr) as ucur:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for urow in ucur:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; urow[0] = myfile
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ucur.updateRow(urow)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
def get_filepaths(directory):
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; file_paths = []&amp;nbsp; # List which will store all of the full filepaths.
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Walk the tree.
&amp;nbsp;&amp;nbsp;&amp;nbsp; for root, directories, files in os.walk(directory):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for filename in files:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Join the two strings in order to form the full filepath.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filepath = os.path.join(root, filename)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file_paths.append(filepath)&amp;nbsp; # Add it to the list.
&amp;nbsp;&amp;nbsp;&amp;nbsp; return file_paths&amp;nbsp; &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally if you want to read the blobs to validate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;def readBlobs():
&amp;nbsp;&amp;nbsp;&amp;nbsp; #to check if the blob column was updated with the content of the raster column
&amp;nbsp;&amp;nbsp;&amp;nbsp; fc = r'H:\Documents\ArcGIS\Default.gdb\XY01TEST'
&amp;nbsp;&amp;nbsp;&amp;nbsp; with arcpy.da.SearchCursor(fc, ['Imgs2', 'DBKEY'], skip_nulls=True) as cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; binaryRep = row[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileName = row[1]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print fileName
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #save the content of the raster field to a new folder
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; open(r'H:\saveFolder2' + os.sep + fileName, 'wb').write(binaryRep.tobytes())
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del row
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del binaryRep
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del fileName&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:08:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268158#M20662</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2021-12-11T13:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Combining File GDBs with different schema</title>
      <link>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268159#M20663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer. The fact is that there are already File geodatabases with data inside. so i have to deal with it. The other reason for the output geodatabase to not use attachment is that further, the data should be inserted in an enterprise geodatabase (SQL Server spatially enabled). And as it uses and manages BLOB, then it's better for us to gather that information right now ready for the upload as ArcMap directly upload that format in Enterprise Geodatabases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the why!&lt;/P&gt;&lt;P&gt;But once more Thank You!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 17:10:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268159#M20663</guid>
      <dc:creator>ZOURMBAZOA_CINQ</dc:creator>
      <dc:date>2015-12-30T17:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Combining File GDBs with different schema</title>
      <link>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268160#M20664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;The fact is that there are already File geodatabases with data inside&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It makes perfect sense to employ the Attachments model on File Geodatabases, it's going to allow you to have many related attachments to any 1 feature.&amp;nbsp; To replicate this with your own method will require some significant investment in development. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;The other reason for the output geodatabase to not use attachment is that further, the data should be inserted in an enterprise geodatabase (SQL Server spatially enabled).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean ArcSDE registered within the SQL Server?&amp;nbsp; If so, then again, the Attachment model is perfectly well suited for this environment.&amp;nbsp; I'm not so sure why you think it isn't.&amp;nbsp; I could see a storage limitations might be a valid concern, but that's unrelated to the fact that setting up Attachments on a SDE instance in SQL Server can and does perform well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 18:27:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/combining-file-gdbs-with-different-schema/m-p/268160#M20664</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2015-12-30T18:27:59Z</dc:date>
    </item>
  </channel>
</rss>

