guillaumebarreau

Adding a cost for crossing a junction defined by a field

Discussion created by guillaumebarreau on Oct 12, 2011
Latest reply on Oct 19, 2011 by guillaumebarreau
I have built a custom cost evaluator in my network data. One aspect of it relates to edges and I have no problem with that.

I would now like to complicate it and add a component of the cost linked to junctions. If, in the evaluators window, for that attribute and in the line that corresponds to junctions (the 3rd one) I add a constant value for junctions, I have the behaviour I want.

However, rather than a constant I would like this cost to be the value of a field which I plan to add to my junctions table (the table associated with the layer whose name ends with ND_junctions).  The "Field" type of evaluator is not available for the junction. Therefore I have tried going round this with the "VB script" type of evaluator but I failed miserably.

Could you let me know how I would set the cost for junctions to be field "F" in my table xxx_ND_junctions?

Thank you

Outcomes