new SuperMap.TransportationAnalystParameter(options)
This class provides general parameters for the transportation network analysis. This class can set the side barrier, the barrier point, the name identification of the weight field information, turn weight field and other information, and also can do some settings for the content contained by the analysis result.
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
barrierEdgeIDsArray.<number>
-
The ID array of the barrier edges in the network analysis. Once an edge is set as barrier, it is forbidden to pass in analysis.
-
barrierNodeIDsArray.<number>
-
The ID array of the obstacle point in the network analysis. Once a node is set as barrier, it is forbidden to pass in analysis.
-
barrierPointsArray.<(SuperMap.Geometry.Point|L.Point|L.LatLng|ol.geom.Point)>
-
The barrier point array of the Point2D type in the network analysis. A barrier node means that it cannot be passed by through any direction. This property is effective only if the isAnalyzedById property in the TransportationAnalystParameter class is set to false.
-
resultSettingSuperMap.TransportationAnalystResultSetting
-
The returned content of the analysis result.
-
turnWeightFieldstring
-
The name of the turn weight field.
-
weightFieldNamestring
-
The name of the resistance field, identifying impedance field used when the network analysis is conducted, for example, the field expressing the time and length can be used as the impedance field. The default value of this field is the first field of all the consuming fields published by the server.
Methods
-
destroy()
TransportationAnalystParameter.js, line 69 -
Disposes the resource. The property that references resource is set to null.