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.When you enable the SSC analysis model and use node coordinate to anlaysis,this value will not be included in the result.
returnNodeIDs: true indicates the ID collection of the passed nodes is included.When you enable the SSC analysis model and use node coordinate to anlaysis,this value will not be included in the result.
returnPathGuides: true indicates the collection of path guides is included.When you enable the SSC analysis model and use node coordinate to anlaysis,this value will not be included in the result.
returnRoutes: true indicates the collection of route objects is included.
returnEdgeFeatures: true indicates the collection of the edge features is included.When you enable the SSC analysis model and use node coordinate to anlaysis,this value will not be included in the result.
returnEdgeGeometry: The default is false, indicating the edge feature collection returned doesn't include the geometry information.When you enable the SSC analysis model and use node coordinate to anlaysis,this value will not be included in the result.
returnNodeFeatures: true indicates the collection of the node features is included.When you enable the SSC analysis model and use node coordinate to anlaysis,this value will not be included in the result.
returnNodeGeometry: The default is false, indicating the node feature collection returned doesn't include the geometry information.When you enable the SSC analysis model and use node coordinate to anlaysis,this value will not be included in the result.
Output format
 
HTTP methods

Output formats