Skip to main content

Hi, very new to FME, and I cannot solve how to use this:

I have about 100 ESRI shape files, containing map data for different geographica areas. I would need to rearrange the data, so that new files are created, where each new file contains all data with a specific attribute in one of the data columns. For instance, small roads have the attribute 11015 in column "CLASS" in all this input files, and the data for all small roads should from all the files should be exported to a new files 11015-all-areas.shp .

What transformer do I use, how and how do I get the new created files to adopt their names from the attributes used?

 

Thanks!!

 

Benjamin

This can be done on the Feature type.

The name of the Feature type (output) can be derived from an attribute (in the image the attribute name).


Hi @benjamin welcome the the world of FME.

I think in this case the writer feature type fan out is your best friend :)

Have a look at the following artikel for definitions and examples:

https://knowledge.safe.com/articles/565/fanout-1.html

Hope this helps.


Thank you @itay and @erik_jan , that was quick and fantastically helpful! I tried your @itay first and worked like a charm.

Ben


Thank you @itay and @erik_jan , that was quick and fantastically helpful! I tried your @itay first and worked like a charm.

Ben

awesome! the knowlegde center is THE place to go on functionalities and demos, even with more that 10 year experiace with FME I still consult it regularly.

 

 


Reply