Skip to main content
Solved

Fanout MapInfo writer one folder, multiple tables


nicholas
Contributor
Forum|alt.badge.img+13

I have a dataset that is clipped to LGA boundaries

I want my output to fanout to mulitple MapInfo tables, each named after an LGA, all within one folder.

How do I do this?

I am using FME 2018.1.0.0

Best answer by takashi

Hi @nicholas, check the Merge Attributes option in the Clipper to merge attributes from the LGA boundaries to the clipped features, add an appropriate destination table name (e.g. a LGA name) to every clipped feature as their attribute, then set the attribute to the destination feature type name (Table Name) in the writer feature type properties dialog.

See these links to learn more about Fanout. Apply Feature Type Fanout in this case, since the MapInfo format is a folder based dataset when writing.

View original
Did this help you find an answer to your question?

2 replies

takashi
Influencer
  • Best Answer
  • June 7, 2018

Hi @nicholas, check the Merge Attributes option in the Clipper to merge attributes from the LGA boundaries to the clipped features, add an appropriate destination table name (e.g. a LGA name) to every clipped feature as their attribute, then set the attribute to the destination feature type name (Table Name) in the writer feature type properties dialog.

See these links to learn more about Fanout. Apply Feature Type Fanout in this case, since the MapInfo format is a folder based dataset when writing.


nicholas
Contributor
Forum|alt.badge.img+13
  • Author
  • Contributor
  • June 8, 2018

Thanks @takashi I have solved it now.

My problem was that, because I wanted to fanout the output datasets, I kept going to the "Fanout Dataset" option in the writer parameters. This resulted in the creation of a new folder for each dataset.

The solution was to leave the writer parameter "Fanout Dataset" as "No" and to (as you advised) assign the attribute "lga_name" to the Table Name for the writer.

The result is a series of MapInfo tables, each one named after the correct LGA, and all in the same output folder, which is just what I wanted.

Your link Setting Feature Type Fanout was invaluable


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings