This is a bit of a review question... I try to convert GML and I wonder if I'm on the right track. Workbench does the job but I'm not sure this is the way to do it.
For example, the featuretype "Waterleiding" has a relation to the featuretype "UtilityLink", which I like to restore. My goal is to add the attributes from Waterleiding to the line UtilityLink. In the end, I want to import the GML using FME server in our WebGIS application to visualise the contents.
Waterleiding:
- inspireId.Identifier.localId = KN1100.2009051707431500023782
- inspireId.Identifier.namespace = nl.imkl
- link = nl.imkl-KN1100.2009051707431500023782.ulink
UtilityLink:
- inspireId.Identifier.localId = KN1100.2009051707431500023782.ulink
My current solution is to create an attribute LinkId in the Waterleiding set from the link attribute (AttributeCreator_5) and replace string the namespace attribute (StringReplacer_2) to convert nl.imkl-KN1100.2009051707431500023782.ulink to KN1100.2009051707431500023782.ulink. This way I can use the FeatureMerger to connect UtilityLink to Waterleiding.
Is this the way to do it or do I miss something?
Workspace (2018.1) and data as template file attached. Thanks for looking.