Skip to main content
Solved

Shape files into new shape files based on attributes

  • February 20, 2017
  • 4 replies
  • 105 views

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

Best answer by itay

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

erik_jan
Contributor
Forum|alt.badge.img+23
  • Contributor
  • February 20, 2017

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).


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • Best Answer
  • February 20, 2017

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.


  • Author
  • February 20, 2017

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

Ben


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • February 20, 2017

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.