Skip to main content
Solved

How to force output feature to get name from feature type name property rather than the file name that a writer initially requires?


makt
Contributor
Forum|alt.badge.img+1
  • Contributor
I noticed today that the dwg writer asks for a file name in a folder (unlike other writers that simply ask for a folder).

 

 

How can I force FME to call the resulting dwg by  the "feature type name" that I define in the name parameters of the writer? It seems that when I do define a name here, it still reverts to calling the output whatever I chose when I was first forced to chose a folder and file name of the writer.

 

 

Best answer by david_r

Hi,

 

 

have you tried using a Dataset Fanout (http://docs.safe.com/fme/html/FME_Workbench/Default.htm#Setting_Dataset_Fanout_Properties.htm)?

 

 

David
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

5 replies

david_r
Celebrity
  • Best Answer
  • May 9, 2014

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • May 9, 2014
Featuretypename results in a autocadlayers in the dataset.

 

Datasetname would be the autocad file (dwg)

 

To do that u need ot use the Datasetfanout. Rightclick on the autocadwritername in the navigatorpane. Choose fanoutdataset...

 

set to yes, and fill out the parameters.

 


makt
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • May 9, 2014
Thanks David, Gio.

 

 

What is the reasoning for this added bit of complexity?

 

In other words, why the inconsistency between writers?

takashi
Influencer
  • May 10, 2014
There are two types of file-based data formats. 1) A file can contain only one feature type, e.g. SHP. 2) A file can contain multiple feature types (layers, tables ...), e.g. DWG.

 

Dataset conceptually is a data set of multiple feature types, so it will be: a folder for the 1st type; a file for the 2nd type.  I think there is no inconsistency ;)

makt
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • May 12, 2014
takashi - indeed that explains the why! thanks

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