Hi Andrew @gispert, thanks for your question! I hope I can provide a solution.
You will first have to add new attributes with the AttributeManager that are named "name" and "value" with your metadata as values for these new attributes. The values in the "name" attribute must start with a backslash "\\" or else it will not write them.
The second step is to make these into list attributes with the ListBuilder. Set the group by to your objectID or in my example ParkID and be sure to name the list "mapinfo_metadata" with the selected attributes "name" and "value" to make key value pairs.
You then can join your original file to the features you have created with the list attributes with the FeatureJoiner, join them on your ObjectID, then your file should be ready to be written to a MapInfo Tab file. Here is the workspace that was used to demonstrate this:
I hope this works for you,
Evie
Hi Andrew @gispert, thanks for your question! I hope I can provide a solution.
You will first have to add new attributes with the AttributeManager that are named "name" and "value" with your metadata as values for these new attributes. The values in the "name" attribute must start with a backslash "\\" or else it will not write them.
The second step is to make these into list attributes with the ListBuilder. Set the group by to your objectID or in my example ParkID and be sure to name the list "mapinfo_metadata" with the selected attributes "name" and "value" to make key value pairs.
You then can join your original file to the features you have created with the list attributes with the FeatureJoiner, join them on your ObjectID, then your file should be ready to be written to a MapInfo Tab file. Here is the workspace that was used to demonstrate this:
I hope this works for you,
Evie
Hi Evie, Thanks for your reply. I don't quite follow, in which transformer do I find the 'Add New Key' dialog? Could you attach your sample Workspace please?
Regards
Andrew
Hi Andrew @gispert, the "name" attribute acts as the Key and the "value" acts as the metadata.
I have an idea of what you want to do and you could accomplish this in two ways- to import a separate file (eg. a CSV) with the columns "name" and "value" with multiple metadata values, or make them up in an AttributeCreator and parse them into list attribute that way.
I have attached a sample workspace of creating your values from scratch.
Here is a screenshot of how you could merge the values from the CSV into the existing file.
I hope this helps clarify and provides context!
Evie
Hi Evie, Its now working as I had hoped, thank you for your help.
Regards
Andrew