Skip to main content

I have hundreds of shapefiles in different folders and subfolders. I would like to create an excel file that shows three columns:

Col1 = Name of .shp file

Col2 = Geometry of .shp file

Col3 = Directory/Path of .shp file

 

For Transformers, I think I need to start with Creator - FeatureReader, then I get stuck.

You need this reader:

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/path/path.htm


Since you need the geometry type, I'd use a second FeatureReader after the Path reader (set to search for *.shp recursively) , configured like this:image You'll find the geometry type in the attribute "fme_geometry{0}".


Thank you both for pointing me in the right direction.

 


Reply