Skip to main content
Question

CSV output

  • October 19, 2022
  • 3 replies
  • 230 views

giuseppecfgeo
Participant
Forum|alt.badge.img

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+51
  • Celebrity
  • October 19, 2022

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+59
  • Evangelist
  • October 20, 2022

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
  • October 20, 2022

@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.