You are setting the new Attribute to the name of the attribute being kept, and since the shapefile writer is expecting a numeric value, it defaults to 0.
You need to either use @Value($(KEEP_ATTRS)) or use an AttributeDereferencer transformer instead.
You are setting the new Attribute to the name of the attribute being kept, and since the shapefile writer is expecting a numeric value, it defaults to 0.
You need to either use @Value($(KEEP_ATTRS)) or use an AttributeDereferencer transformer instead.
Note that neither will work as expected if you select more than one attribute to keep
Hi!
If I well understand your question, you can connect reader to writer directly and create your attribute on "user attributes". Manual mode. You delete the others fields and create a new one called "ATTRIBUTE" with value = $(KEEP_ATTRS)
If you put "5, 12, 8, 45 " on the published parameter, you need to have a type = character.