Skip to main content
Question

Delimiter Character

  • October 6, 2014
  • 2 replies
  • 123 views

Hello,

 

 

I want to read delimited files may be comma / pipe / tab / semicolon delimited which in turn get converted to KML. What is the best way to read those files? Is it possible to change field separator character of csv reader at runtime?

 

 

Cheers

2 replies

david_r
Evangelist
  • October 6, 2014
Hi,

 

 

you can try with the CSV reader, it will let you specify the delimiter character:

 

 

 

 

David

david_r
Evangelist
  • October 6, 2014
Oh, and to answer your second question: I do not think you can change this at runtime.

 

 

If you have a mix of delimiters, one solution could be to pre-process your file using a Text File reader/writer combo that uses e.g. one or more StringReplacers to homogenize your delimiters.

 

 

Look into the WorkspaceRunner to chain these two workspaces, if needed.

 

 

David

 

 


Reply


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