Skip to main content
Solved

Basics.... writing text file

  • Aug 4, 2017 2:46 PM UTC
  • 3 replies
  • 1002 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.

View original
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
  • Best Answer
  • Aug 4, 2017 2:54 PM UTC

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+26
  • Contributor
  • Aug 4, 2017 2:56 PM UTC

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