Read Trace result in order of spatial appearance

2419
1
10-18-2010 07:20 PM
Highlighted
New Contributor
Hello,

I have a geometric network and I am doing a simple connected Trace programatically. e.g.
//Run trace
pNewTrace.FindFlowElements(esriFlowMethod.esriFMConnected, esriFlowElements.esriFEJunctionsAndEdges, out pJuncSel, out pEdgeSel);

After running the trace function, I need to read the features from the result set (edges and junctions) in the order of their spatial appearance from the start point of the trace. What I get in the result is junctions and edges in the increasing order of their network ids - pJuncSel, pEdgeSel.
Is there any way to get the features in the order of their spatial location from the start point of the Trace.

Please let me know if the my question is not clear.

Thanks.
Tags (2)
Reply
0 Kudos
1 Reply
Highlighted
New Contributor II

Hello,

did you ever get an answer? I've got the same problem and don't kow how to solve ist.

Thanks,

Andrea

Reply
0 Kudos