difference between "Reverse weight field name" and "Positive weight field name" when publish REST Transportation Analysis Service in IServer
1EXP 2025.02.26

I will ask about iServer, i will publish the Multiple traveling salesman problem (MTSP) workspace on iServer, then I will select the REST Transportation Analysis Service type.

When doing the configuration, there is a WeightFieldInfo collection form, I am still confused about the difference between the reverse weight field name and the Positive weight field name, for consideration in choosing on the form.

Thank You :)

1 Answer

In network analysis (such as route planning and service area calculations), the positive weight field and reverse weight field are used to define the travel costs of network edges (such as roads), and they distinguish directionality. The postitive and reverse weights correspond to the two directions of an edge.

For example, if the field is time, the postitive weight might be the time from A to B, while the reverse weight is the time from B to A, which may be different, such as the time difference between going uphill and downhill. The postitive and reverse fields allow users to set different weights for the two directions, enabling more precise analysis.

5EXP 2025.02.27

I have configured the settings in iDesktop X under Environment Settings → Traffic Rules Settings.  

My expectation was that after setting up these rules, I could simply upload them to the server, and the server would be able to read them. However, when I closed iDesktop X and reopened it, the traffic rules settings were reset to default (not saved).  

So, my questions are:  

1. How do I save the traffic rules settings?  
2. Once the traffic rules are set, how can the iServer read these settings?   
   - Do I need to create a new field to store reverse weight and positive weight?  
   - If I create new fields, wouldn’t they only store the weight values? How do I define whether a road is one-way or two-way?

The traffic rule settings in iDesktopX cannot be saved in the workspace or data source. Therefore, when the data is published as a service, iServer cannot read the traffic rule settings. These settings need to be reconfigured. As shown in the figure below, there is an advanced setting on the Service Provider page where you can set one-way or two-way roads. Hope this helps.

...