Skip to main content
Solved

Bulk Attribute Renamer renaming column not attributes

  • June 29, 2017
  • 2 replies
  • 49 views

I am attempting what should be a simple renaming of attributes using the BulkAttributeRenamer however the results I am getting are applying the rename to column rather the attribute values.

I am using a PostGIS reader and writer. Any suggestions on what I might be doing wrong?

Best answer by jdh

The BulkAttributeRenamer renames the attributes, it does not touch the values themselves. Any of the AttributeCreator, AttributeManager, StringConcatenator transformers can be used the add a prefix to the existing value.

1000_@Value(auid)

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.

2 replies

erik_jan
Contributor
Forum|alt.badge.img+23
  • Contributor
  • June 29, 2017

You should use the StringConcatenator transformer to add "1000_" to the value.


jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • Best Answer
  • June 29, 2017

The BulkAttributeRenamer renames the attributes, it does not touch the values themselves. Any of the AttributeCreator, AttributeManager, StringConcatenator transformers can be used the add a prefix to the existing value.

1000_@Value(auid)