If nobody comes up with a real answer, I might have a hack for you :) - If the data does not have a unique attribute, run it through a counter with an output attribute name of _my_unique_id
- Connect one output of the counter to an AttributeRemover, removing the area_heightlevel_2 field - Connect the AttributeRemover to a Concatenator that concatenates _my_unique_id+'-'+line_heightlevel into an attribute called _my_joiner - Run a second connecter from the Counter through a ListExploder - Pipe this through a GeometryRemover - Connect the GeometryRemover to a Concatenator that concatenates _my_unique_id+'-'+area_heightlevel1 into an attribute called _my_joiner - Run this through an AttributeKeeper (keeping only the unique ID, _my_joiner, and area_heightlevel_2 - pipe these both into a FeatureMerger, with the first stream being the requestor, and the second stream being the supplier, using _my_joiner as the join attribute for both. - set the value of line_heightlevel to area_heightlevel2 ??? Jason -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of rob_kromwijk Sent: Wednesday, December 20, 2006 03:26 To: [email protected] Subject: [fme] search list by attribute value Hi, after a lineonarea overlay I have line elements with its original attribute (e.g. heightlevel) and a list of attributes, originating for area elements (including heightlevel_1 and heightlevel_2 attribute). I want to search the list based on the line heightlevel value; so not a fixed value (only one area heightlevel_1 value will match). If I find my match, the line heightlevel value is set to area heightlevel_2 value. Stated differently: IF line_heightlevel = area_heightlevel_1 THEN line_heightlevel = area_heightlevel_2 END IF In a listsearcher, I can obly use a fixed value, rather than the value of a attribute. Anyone the answer? For insights into what's up at Safe Software and what's on the development horizon, visit Safe's blog at spatial-etl.blogspot.com. Safe Software has also made slides available that outline enhancements planned for FME 2007. The slides are from the "Road Ahead" presentation given on Day 2 of the FME Worldwide Users Conference. To view these slides, visit www.safe.com/2006uc. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/fme/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/fme/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/
