Skip to main content
Question

CSV output

  • Oct 19, 2022 4:10 PM UTC
  • 3 replies
  • 300 views

giuseppecfgeo
Contributor
Forum|alt.badge.img+5

Hey community!

How can i export CSV output without attribute name? I am transforming a CSV file with East North coordinates but in output the first data is the name of the "_result" attribute that I would like to delete (attached image).

 

Thank you!

3 replies

danilo_fme
Celebrity
Forum|alt.badge.img+58
  • Celebrity
  • Oct 19, 2022 6:07 PM UTC

Hi @giuseppecfgeo​ 

 

When you insert the Reader CSV, you can "eliminate" the line that you wan't:

 

Parameters - Field Names Line:2

 

Reader 

 

Thanks,

 

 


geomancer
Evangelist
Forum|alt.badge.img+71
  • Evangelist
  • Oct 20, 2022 6:14 AM UTC

True, but not all that relevant for the CSV Writer 😉

The CSV Writer has an option in the Parameters to 'Write Field Names Row'. When you set this parameter to 'No', no header row gets written.

CSV_Writer_Parameters


Forum|alt.badge.img+2

@giuseppecfgeo​ It looks like you might be better off using the Text File writer. My guess is that your building the comma separated list in FME as a single attribute. If that's the case Text Line is a better fit. than CSV.