Hi,
What is the value of CSV_NAME when it reaches the Writer?
Try sending the features to a Logger and have a look.
David
The value is as expected say District1. Now, it creates a folder District1 with a csv file under it with name District1.
Hi,
I guess you specified both of the "Fanout Dataset" parameter and the "Fanout By Attribute" parameter of the CSV writer. If so, cancel the "Fanout Dataset" parameter setting.
Takashi
Thanks Takashi. That suggestion resolved the problem.
Hi, I am having the same issue, but only for CSV. Below are screenshots of the settings. I don't see two different options as mentioned in the reply from 2 yrs ago about Fanout by Attribute vs. Fanout by Dataset. I only see Fanout by Dataset stting, then within that, option select what "attribute to fanout on." In my case, i'm trying to use the timestamp (probably a common use case) to publish stored copies of the written data.
CSV like Shape is a folder based dataset, which means a featuretype in this dataset is a file. So to generate files based on a attribute, you will need the featuretype fanout (a setting on the featuretype) as opposed to the dataset fanout that will generate folders.
Hi, I am having the same issue, but only for CSV. Below are screenshots of the settings. I don't see two different options as mentioned in the reply from 2 yrs ago about Fanout by Attribute vs. Fanout by Dataset. I only see Fanout by Dataset stting, then within that, option select what "attribute to fanout on." In my case, i'm trying to use the timestamp (probably a common use case) to publish stored copies of the written data.
Hi Adam,
You're looking at the Dataset Fanout settings. For Feature Type Fanout, you need to look in the Feature Type Properties, and just set the file/layer name to an attribute value - something like the image below.
There's also more info here...