Skip to main content
Solved

How do I manage the attribute order in shapefile writer

  • December 27, 2022
  • 2 replies
  • 43 views

I have a project in which I generate four shapefiles. In 1 of the shapefiles I add new attributes via transformers and fill them with a specific value. But even though I have neatly arranged the order of the attributes in my writer, this is not followed in the output in the shapefile. The added attributes are in other places than indicated in the writer itself. How can I ensure that the output is neatly arranged as I want it?

Best answer by JennaKAtSafe

Hi @ellendp​! A few ideas come to mind here:

If you are looking to order your attributes you could add an AttributeManager before your writer and use the arrow buttons on the bottom left corner to order your attributes. If you're looking to arrange your features in a certain order the Sorter transformers might help. Let me know how this goes for you!

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

JennaKAtSafe
Safer
Forum|alt.badge.img+8
  • Safer
  • 192 replies
  • Best Answer
  • December 27, 2022

Hi @ellendp​! A few ideas come to mind here:

If you are looking to order your attributes you could add an AttributeManager before your writer and use the arrow buttons on the bottom left corner to order your attributes. If you're looking to arrange your features in a certain order the Sorter transformers might help. Let me know how this goes for you!


  • Author
  • 3 replies
  • December 28, 2022

Hi JennaAtSafe,

Thank you. The AttributeManager does the trick. Never know you could order the attributes with this transformer. Thanks for letting me know!