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?

  • May 8, 2014
  • 5 replies
  • 18 views

makt
Contributor
Forum|alt.badge.img+1
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
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.

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
Celebrity
  • 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