Skip to main content
Question

Basic attribute removal

  • August 2, 2016
  • 3 replies
  • 42 views

I have a shapefile from a GDB and I'm trying to remove extra fields that are null, blank, or just aren't needed to make the file size smaller and generally clean things up. I have my reader, the attribute remover, and the writer but when the translation is done and indicates it was successful, I open the new shapefile and all the fields that I wanted gone are still there. Am I missing an additional transformer or should I write it out as a GDB? This seems so simple but I can't get it to work!

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

itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • August 2, 2016

Try removing the attributes (red arrows) from the writer feature type


david_r
Celebrity
  • August 2, 2016

You cannot change the schema between features, it is the same for the whole dataset.

This means that the scema is defined by the writer, not by the features that are sent to it, and as such the AttributeRemover has no effect on the Writer.


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • August 2, 2016

Try removing the attributes (red arrows) from the writer feature type

Or set the attribute defniition to Automatic within the writer