I have numerous shapefiles in numerous folders. While I can parse through all of these and convert directly into a GDB I will have 203 separate classes. I would like to use the parent folder name as my feature class name. Each folder has a varying number of SHPs in it but they all belong to their parent folder.
Convert SHP to GDB and use certain folder names as the feature class names in which SHPs will be converted into.
+1
Hi @sjolster31 ,
You should be able to get this done by exposing the fme_dataset format attribute and passing that into the FilenamePartExtractor. This will create a new attribute (_dirname) which you can then use to Fanout to create feature classes.
+1
Thank you, I shall give this a go!
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.