Skip to main content
Question

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

  • May 22, 2018
  • 3 replies
  • 20 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

danilo_fme
Celebrity
Forum|alt.badge.img+53
  • Celebrity
  • May 22, 2018

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


femo
Contributor
Forum|alt.badge.img+6
  • Contributor
  • May 23, 2018

tHi @oweijer,

this way also works:

Attached you also find the corresponding template.


Forum|alt.badge.img
  • May 23, 2018

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: