Skip to main content
Solved

Basics.... writing text file

  • August 4, 2017
  • 3 replies
  • 851 views

harmen_kampinga
Forum|alt.badge.img+2

Hello,

In the Text_File writer I cannot select an attribute I've just created

How can I solve that?

Best,

Harmen

Best answer by david_r

The text file writer only has one attribute "text_line_data", you cannot add others.

For each feature sent to the writer, the value of "text_line_data" will be output on a separate line, all other attributes are ignored.

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

david_r
Celebrity
  • 8391 replies
  • Best Answer
  • August 4, 2017

The text file writer only has one attribute "text_line_data", you cannot add others.

For each feature sent to the writer, the value of "text_line_data" will be output on a separate line, all other attributes are ignored.


erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • August 4, 2017

Hi Harmen,

Would the AttributeFileWriter be a solution for what you need?

Erik Jan


harmen_kampinga
Forum|alt.badge.img+2
@david_r

Adding my data to the "text_line_data" attribute did the trick ;-)

@erik_jan

The AttributeFileWriter doesn't do what I expected it to do...