Skip to main content

Hello

I have several GDBs with several FCs in different subdirectories. However, all GDBs have the same structure (same FC with identical attributes). I would like to merge all the data depending on the FC and then process it further in an existing workflow. 
Using the example, I was able to read and save all data, but it deleted all attributes and combined all FCs into one single FC.

 


My question now is how I could read all FCs with the same name from all GDBs, merge them in one FC and then process them further in an existing workflow.

I think what you want is no generic outputport but an outputport for every featureclass, while reading multiple file geodatabases. This can work if the structure of all file geodatabases is the same.

Open FeatureReader_2, change Dataset from path_windows to one of the file geodatabases you want to read. Click OK to close the parameters. The schema will now be scanned and the FeatureReader will generate an outputport for each featureclass.

Now open the parameters again. Change “Regenerate” to “Never” and change Dataset to path_windows. Click OK to close the parameters. The outputports and the attributes will not change, but the features from the gdb’s found in the previous FeatureReader will be read.

 


Reply