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
barrierEdgeIDs Barrier edge ID array.
barrierNodeIDs Barrier node ID array
returnEdgeIDs: true indicates the ID collection of the passed edges is included.
returnNodeIDs: true indicates the ID collection of the passed nodes is included.
returnPathGuides: true indicates the collection of path guides is included.
returnRoutes: true indicates the collection of route objects is included.
returnEdgeFeatures: true indicates the collection of the edge features is included.
returnEdgeGeometry: The default is false, indicating the edge feature collection returned doesn't include the geometry information.
returnNodeFeatures: true indicates the collection of the node features is included.
returnNodeGeometry: The default is false, indicating the node feature collection returned doesn't include the geometry information.
Output format
 
HTTP methods

Output formats