Question

I am creating txt files whit coördinats. now the last line must write "END" .


I used a CoördinatExtractor and a ListExploder to get the Coördinates. I create a attribute to write the x and y coördinates in one line. Now the question is how can I create the last line whit only end?

example:

pnt 111223, 513248

pnt 111225, 513256

END


3 replies

Userlevel 4
Badge +30

Hi @oweijer

Try to use the transformer StringConcatenator and you can add a New Line like a constant and add the word END:

Thanks,

Danilo

Badge

tHi @oweijer,

this way also works:

Attached you also find the corresponding template.

Badge

Hi @oweijer

Like always so many ways to do it. The most basic way I would just create a new line to output of "END" and use a Feature Holder so its forces it to be last.

which gives the output of:

Reply