Path



Description:
The path resource. This page simulates the process of optimal path analysis using REST interfaces. Optimal Path Analysis is used to solve problems like finding out the path with the least impedance to pass N points in a particular order in a network. The "impedance" in path analysis may refer to any thing such as travel time, distance, financial cost, toll stations, etc.


nodes: * The array of IDs of the network nodes to be visited. It can be an array like [2,3], or node coordinate like[{"x":119.6100397551,"y":-122.6278394459} ,{"x":171.9035599945,"y":-113.2491141857}]
hasLeastEdgeCount:
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