Skip to main content

Hi,

I'm having trouble appending one feature from a geodatabase, with another feature from a different geodatabase.

 

To put it simply I want to turn 2 features into 1 feature.

 

I'm using the terminology ("append") from this article, so I hope I've phrased this question correctly Combining Multiple Streams of Data (Append vs. Merge or Join) (safe.com).

 

The schema is the same, I've attached a .gdb with the example data within it.

 

Note: this is part of a much larger question, of how to append two separate .gdbs together (both with the same schema), but I figured I'd start on this mirco level and expand what I can learn from this forum to solve the bigger task at hand. I've attached a pic of the my attempt (this mess may or may not help)

 

Thanks for your assistance

If the schemas of the incoming features already match and you only want to merge those features in a new consolidated GDB, you do not need a FeatureMerger. Simply feed the output ports of like features from your FeatureReaders into the writer or downstream transformers to process them together. To go a step further, if the schemas are the same between the input datasets, a single FeatureReader can be used to read both using the "Select Multiple Folders/Files" option in the reader parameters.


Hi, thanks for your response.

I tried what you suggested ... "a single FeatureReader can be used to read both using the "Select Multiple Folders/Files" option".

This worked, for example a single feature class was written with all the "Usage1_ADMARE_a" areas and all the "Usage2_ADMARE_a" areas within it. (see pic01, in attached zip). Brilliant.

 

If I carry this concept through to attempt to merge the remaining common features (see pic02), are there any efficiencies I could do, so that I could avoid mapping every single group (grouped by their object name ADMARE, BCNCAR, BCNISD, etc).

 

If you it helps see also atttached a .gdb example, with some feature classes, not all. There's about 100 objects within each usage band, 6 bands in total.

 

 


Reply