Hi try this
1. create a lookup table with you values and a number as the key Lookup tree 0 orange 1 apple 2 pear etc 2. Use the Random functin to create a number say between 0 an 100 3. calculate the modulus off this number with the number off ellements in the list 4. use this number with the lookup tabel and get a tree ;-} Peter Laulund >From: "mbfbsae90" <[EMAIL PROTECTED]> >Reply-To: [email protected] >To: [email protected] >Subject: [fme] random list >Date: Fri, 21 Apr 2006 02:06:04 -0000 > >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. > >Thx, >Mark > > > > > > > > > > >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 > > > > > > _________________________________________________________________ Opret en personlig blog og del dine billeder på MSN Spaces: http://spaces.msn.dk 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/
