Class: FacilityAnalystSources3DParameters

SuperMap.FacilityAnalystSources3DParameters

Closest Facility is to find the closest facilities from the selected ones for the specified event site(s) in the network.The closest facilities are those that have the least impedance in the specified direction -- either from the event site to the facility or from the facility to the event site. Facility are the nodes that represent schools, hospitals, supermarkets, etc. Event sites are the nodes that need the service of the facilities. In the example of finding for an accident the closest hospital within ten minutes' distance from all the selected hospitals, the accident is the event site, and the selected hospitals are the facilities. The Closest Facility analysis is actually one type of shortest path analysis. Barrier nodes, barrier edges, turn tables, costs can be set for the Closest Facility analysis.

new SuperMap.FacilityAnalystSources3DParameters(options)

FacilityAnalystSources3DParameters.js, line 4
Name Type Description
options Object

The parameters.

Name Type Default Description
weightName string

The name of the specified weight field information object.

edgeID number optional

The specified edgeID. edgeID and nodeID must be specified one.

nodeID number optional

The specified nodeID. edgeID and nodeID must be specified one.

isUncertainDirectionValid boolean false optional

Specifies whether the indeterminate flow direction is valid. Specifying true means that the indeterminate flow direction is valid, and the analysis continues when an uncertain flow direction is encountered; if it is false, it means that the indeterminate flow direction is invalid, and the unstable flow direction will stop searching in this direction.

Extends

Members

edgeIDnumber

The specified edgeID. edgeID and nodeID must be specified one.

isUncertainDirectionValidboolean

Specifies whether the indeterminate flow direction is valid. Specifying true means that the indeterminate flow direction is valid, and the analysis continues when an uncertain flow direction is encountered; if it is false, it means that the indeterminate flow direction is invalid, and the unstable flow direction will stop searching in this direction.

nodeIDnumber

The specified nodeID. and nodeID must be specified one.

weightNamestring

The name of the specified weight field information object.

Methods

inherited destroy()

FacilityAnalyst3DParameters.js, line 51

inherited destroy()

FacilityAnalyst3DParameters.js, line 51