My goal is to merge all shapefiles in the same folder and outputting them as a gml with name of the folder.
So it looks like this:
- Main Dir
- Set 2
I managed to merge the files together on this way:
Using the Shapefile Reader and setting the input to a folder with subdirectories. Then, using the FilenamePartExtractor transformer I extract the name of the folder (set1/set2/..).
Then I write to GML with the name of the folder and fanning out the GML with this name as input. The output is a file without extension, but with the correct name.
Changing the filetype to .gml confirms they have merged succesfully. But why is it not automatically writing as .gml in FME?
nb. it does output a correct .xsd file.