Sorry, asleep at the switch.
 
You'll want to look at OGCGeometryReplacer instead of the 2DCreator.  After the 
ListConcatenator, you'll want to do another AttributeCreator
 
wktgeom = LINESTRING (&xy_concat)
 
I think the format for OGC WKT LINESTRING is something like:
 
xxxxxxxx.xxx yyyyyyyyyy.yyy, xxxxxxxxx.xxx yyyyyyyyy.yyy
 
Fortunately, if I'm wrong it's well known :)
 
Jason

________________________________

From: Jason Birch
Sent: Tue 2005-02-15 5:12 PM
To: [email protected]
Cc: Cam Botherway
Subject: RE: SUSPECT:: [fme] Join the dots


How about:
 
Sorter (get them in the right order)
CoordinateFetcher
AttributeCreator (xy_merged: value = &x_coord &y_coord)
Aggregator (if you have multiple lines, make sure to group by their unique ID.  
Specify the list attribute.
GeometryRemover
ListConcatenator (concatenate the xy_merged value)
2DCreator (specify your concatenated line string)
 
You may need to play around to get the output into the format that 2DCreator 
uses.
 
I haven't done this myself, so YMMV.  I thougt of at least one other way of 
doing this, so write back if this doesn't work for you.
 
Jason




 





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