I'm afraid that I'm going to show off my ignorance now, but I can't figure out what you mean here, Jason. What is a "lines table" and how can FeatureMergers help me?
Thom --- In [email protected], "Jason Birch" <[EMAIL PROTECTED]> wrote: > > > I generally deal with this using the lines table and some > FeatureMergers. > > Jason > > > -----Original Message----- > From: Thom DeCarlo > Sent: Tuesday, May 02, 2006 15:26 > To: [email protected] > Subject: [fme] question about list manipulation > > I'm working with the output of a SpatialRelator Transformer in my > workspace. The features contain a node_id from the source node and a > list containing the line_id of the connected line segments as well as > the node_id for the endpoints of each line segment. So the attribute set > looks like this: > > node_id > _relationships{}.line_id > _relationships{}.from_node_id > _relationships{}.to_node_id > > The problem is that I want to add a new element to the list that > contains the node_id (either the from_ or to_ node_id) which is not the > same as the feature's node_id. > > That is: > _relationships{}.other_node_id = \ > (node_id != _relationships{}.from_node_id) \ > ? _relationships{}.from_node_id \ > : _relationships{}.to_node_id > > I thought I could use the ExpressionEvaluator Transformer, but since I > am dealing with a variable-sized list, I could not see how to expose the > variable number of list elements. > > I don't see a ListExpressionEvaluator Transformer, but I think that is > what I'd need to do this. Does anyone have any clues on dealing with the > list manipulators? > > Thanks, > Thom 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/
