Mark,

> Within the workbench, how can I create a list of possible attributes
> that can be associated to a feature randomly?
> 
> Basically... SHP Point data in. 
> I have a list of types of trees I want to randomly add to the SHP Data.
> 
> List of trees would be strings: orange, apple, pear, etc.
> 
> I just want to randomly select one of these strings and add it the output.

Use the random function of the ExpressionEvaluator. E.g. 
int(rand()*10.0) (off the top of my head, may not work immediately, but 
you get the idea) to create a list of 10 integer values. Then use a 
ValueMapper to map every integer to a text:
0 -> orange
1 -> apple
2 -> pear

etc.

Hope this helps.
-- 
Hans van der Maarel
Red Geographics
www.redgeographics.com / [EMAIL PROTECTED]






Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our 
Professional Services team.  Visit www.safe.com/services for details. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/fme/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to