Hello,

In FME Workbench I am trying to figure out how to reorder an attribute
list created from aggregated line features such that where part 0 ends
part 1 starts and where part 1 ends part 2 starts, and so on. 

I am using CoordinateFetcher to add fields that store the start x, start
y, end x and end y values for each line feature. I then use Aggregator
based on a field called ROUTEID which gives me the unordered list of
parts. I want to be able to compare the start/end x/y values to the
other elements in the list, if the start x/y of one part matches the end
x/y of another part then assign an index value that indicates the
relative position in the list. It seems I don't really need to sort them
until the new index values are set. Once the new index values are set I
can use ListSorter to put the parts in order. 

My main problem is figuring out how I can test the elements of the list
with other elements in the list then assign a value to an element in a
list. I'm not sure if this is possible. Am I way off track here? Any
suggestions?

Thanks,

Chad M. Nielsen
GIS Analyst
Oregon Department of Transportation
(503) 986-3163
[EMAIL PROTECTED]

Reply via email to