Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to set attributes for writers generic objects, for instance, lines?!

Writer generic objects lines are created, but without attribute because I do not know how to set attributes and values.

share|improve this question
Do you mean objects as features ie. points, lines in .shp file? How do create the objects? Try to form your question as precise as possible. In this form it is not possible to answer. – Tomek Dec 20 '11 at 9:47

The AttributeExposer, AttributeCreator, AttributeSetter, and SchemaMapper transformers might be of use.

You might want to go into more detail including describing your current workspace (screenshots would help), input data, parameters, desired output, etc.

share|improve this answer
Yes. The Generic Writer functions the same way as any other. Provided the attributes are on the feature and the same attributes are on the output schema, then they will be written out. So a screenshot would really help. – Mark Ireland Jan 19 '12 at 17:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.