I have a bunch of mapinfo line.tab files that I want to merge together. Each .tab file is in a seperate sub directory e.g.
/test/one/line.tab
/test/two/line.tab
/test/three/line.tab
I want to add a 'dir' text column to each layer before merging that is populated with the files sub directory name e.g.
line.tab layer in the one directory will have a new column added 'dir' and be populated with value 'one'
line.tab layer in the two directory will have a new column added 'dir' and be populated with value 'two'
...etc
I see that hte AttributeCreator transformer can populate data columns, however I'm unsure how to get the data in the format as stated above.
thank you