I have a workspace where I'm using information from one set of features (municipalities) to define other datasets to read (f.i. road fences). Each feature has an attribute with the name of the dataset that should be read for this specific feature.
For instance: For the feature with municipality number 501, I want to read corresponding features from the dataset K:\\.....\\0501\\...\\VSI20501.GDD, and for the feature with municipality number 522, I want to read corresponding features from the dataset K:\\.....\\0522\\...\\VSI20522.GDD.
I have been using a sub workspace and WorkspaceRunner to solve this earlier, sending the path for each dataset as a parameter for the sub workspace. But now I would like to have it all in one workspace, and figured the FeatureReader would be a good sollution. However, it is not possible to set the dataset to read in the FeatureReader from an incoming (INITIATOR) attribute.
Could it be possible to set the dataset using a Python script or something?