I'm trying to find an effective way to
- read in a feature class
- use an area on area overlayer with another feature class to split some geometries and inherit attributes
- update the feature class that I read in in the first place with the updated geometries and attributes
So there are two datasets, blue and red. Blue is the data I want to read in, edit and then write out. Red is the data I am going to split it by.
I somehow want to take the blue data and edit it and then write it back out to the same feature class. In the below, the green squares are not needed as there will be no change. The orange squares in the centre will stay identical except that one of their attributes will be updated to include the "BOX_ID" of the red box (in this case, the OBJECTID) with which they intersect. The yellow squares need to be split along the boundaries of the red box, with the portion that is "inside" the box inheriting the ID of the box and the portion that is outside the box just changing geometry and keeping the BOX_ID field null.
See attached datasets and workspace, can anyone advise me on the best way to achieve this? The workspace I've created (created in FME Desktop 2020) does work but the fact that it reads, deletes and inserts the same feature class in a single workspace makes me a bit concerned about order of operations and getting stuck in loops when we move to larger datasets.