Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.