home  >   networkanalyst  >   networkDataName(bus_Network@roadnet_xczx)

mtsPath



Description:
The mtspPath resource. This page shows how to perform multiple travelling salesmen analysis using REST interfaces.
Given M delivery centres and N destinations in a network (M and N are both integers greater than 0), a multiple travelling salesmen analysis, also known as logistics analysis, is used to find an effective delivery route.
A logistics analysis is used to reasonably determine delivery order and routes, so that the total delivery cost or the cost for each delivery centre is the least.


centers * Center Point set. It can be the array of ID, like [2,5,7], or array of node coordinates
nodes * Destination set. It can be the array of ID, like [1,6,21], or array of node coordinates
hasLeastTotalCost: Whether to adopt the delivery solution with the least total cost.
weightFieldName The wight field name, which indicates the weight field used during network analysis. If not set, the first field in the environment setting will be used.
turnWeightField Turn weight field name
Output format
 
HTTP methods

Output formats