Skip to main content
Solved

How can I output a list of fields/attributes that are in a shp file?

  • October 12, 2020
  • 3 replies
  • 75 views

I'm just looking to be able to drop a .shp file into the workspace and extract a list of the fields/attributes contained within, into a .csv file

Best answer by nielsgerrits

Creator, FeatureReader, AttributeExploder, Aggregator, FeatureWriter should do the job I think.

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

nielsgerrits
VIP
Forum|alt.badge.img+64
  • Best Answer
  • October 12, 2020

Creator, FeatureReader, AttributeExploder, Aggregator, FeatureWriter should do the job I think.


  • Author
  • October 12, 2020

Creator, FeatureReader, AttributeExploder, Aggregator, FeatureWriter should do the job I think.

AttributeExploder was the missing transformer. Thanks


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • October 12, 2020

I'd look at using a schema reader to read the shape file followed by a list exploder (or read the schema only using the FeatureReader)