weightmatrix



Description:
The weightmatrix resource. This page simulates how to calculate the weight matrix through REST interfaces.
The weight matrix is a 2-dimensional double array used to store the cost between any two nodes.


Calculate weight matrix
nodes * Set of points for weight matrix calculation, which can be an ID array like [2,3], or a node coordinate array like [{"x":32.754,"y":23.205} ,{"x":45.55,"y":87.66}]
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