public class TransportationAnalystSetting extends UGCDatasetConnectionInfo implements MultiInstanceSupported
Traffic network analysis environment settings class, that is, network data set connection information.
Modifier and Type | Field and Description |
---|---|
java.lang.Boolean |
autoCheckNetwork
Whether to automatically check the network dataset
|
java.lang.String[] |
backwardSingleWayRuleValues
An array of strings representing the backward single way.
|
int[] |
barrierEdges
The obstacle arc ID array identifies which network arcs are the obstacle arcs.
|
int[] |
barrierNodes
The obstacle node ID array identifies which network nodes are the obstacle nodes.
|
static int |
DEFAULT_POOLSIZE |
java.lang.String |
directionField
Flow field
|
java.lang.String |
edgeIDField
The field name that identifies the network arc ID.
|
java.lang.String |
edgeNameField
The field name that identifies the network arc name.
|
java.lang.String[] |
forwardSingleWayRuleValues
An array of strings representing the forward single way.
|
java.lang.String |
fromNodeIDField
Identifies the field name of the arc start node ID.
|
boolean |
initFacilityAnalyst
Whether to initialize facility network analysis
|
java.lang.String |
nodeIDField
The field name that identifies the network node ID.
|
java.lang.String |
nodeIDFilterField
In facility network analysis upstream and downstream key facility lookup, it generates filter fields for default sourceNodeIDs parameters
|
java.lang.String |
nodeNameField
The field name that identifies the network node name.
|
java.lang.String |
pathGuideDescriptionLanguage
Specify the travel guidance language by setting the properties file suffix.
|
int |
poolSize
The maximum number of concurrency allowed for traffic transfer analysis.
|
java.lang.String[] |
prohibitedWayRuleValues
Indicates an array of strings representing lines.
|
java.lang.String |
ruleField
Indicates the field name of the network arc traffic rules.
|
double |
tolerance
The distance tolerance from the node to the arc.
|
java.lang.String |
toNodeIDField
Identifies the field name of the arc stop node ID.
|
TurnDatasetInfo |
turnDatasetInfo
Steering table data set.
|
java.lang.String[] |
twoWayRuleValues
An array of strings representing the two way.
|
WeightFieldInfo[] |
weightFieldInfos
A set of weight field information,is a necessary parameter.
|
datasetName, datasourceName, workspaceConnectString, workspaceType
Constructor and Description |
---|
TransportationAnalystSetting()
The Constructor.
|
TransportationAnalystSetting(TransportationAnalystSetting transportationAnalystSetting)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
TransportationAnalystSetting |
clone() |
boolean |
equals(java.lang.Object obj)
Compare whether the specified object is equal to the current
UGCDatasetConnectionInfo object. |
int |
hashCode()
Gets the hash code value of the SuperMap dataset link information object.
|
boolean |
isMultiInstance()
Returns whether the current service provider is enabled
|
void |
setMultiInstance(boolean isMultiInstance)
Sets whether the current service provider is enabled
|
public static final int DEFAULT_POOLSIZE
public java.lang.String ruleField
Indicates the field name of the network arc traffic rules.
Network arc traffic rules can be divided into positive one-way line, reverse one-way line, double line, forbidden line and so on. In the network dataset An arc has a start node and an end node, and from the beginning node to the end node is positive, and vice versa.
Refer to forwardSingleWayRuleValues
for the traffic rule valus corresponding to the forward single way, Refer to backwardSingleWayRuleValues
for the traffic rule valus corresponding to the backward sngle way, Refer to twoWayRuleValues
for the traffic rule valus corresponding to the two way.
backwardSingleWayRuleValues
, , ,public java.lang.String[] forwardSingleWayRuleValues
An array of strings representing the forward single way.
When the value of the field specified by ruleField
is one of them, the arc is the forward single way.
Network arc traffic rules can be divided into positive one-way line, reverse one-way line, double line, forbidden line and so on. In the network dataset An arc has a start node and an end node, and from the beginning node to the end node is positive, and vice versa.
public java.lang.String[] backwardSingleWayRuleValues
An array of strings representing the backward single way.
When the value of the field specified by ruleField
is one of them, the arc is the backward single way.
Network arc traffic rules can be divided into positive one-way line, reverse one-way line, double line, forbidden line and so on. In the network dataset An arc has a start node and an end node, and from the beginning node to the end node is positive, and vice versa.
public java.lang.String[] twoWayRuleValues
An array of strings representing the two way.
When the value of the field specified by ruleField
is one of them, the arc is the two way.
Network arc traffic rules can be divided into positive one-way line, reverse one-way line, double line, forbidden line and so on. In the network dataset An arc has a start node and an end node, and from the beginning node to the end node is positive, and vice versa. The two way indicates that the traffic rules of the network arc can be reversed either forward or backward.
public java.lang.String[] prohibitedWayRuleValues
Indicates an array of strings representing lines.
When the value of the field specified by ruleField
is one of them, the arc is forbidden line.
Network arc traffic rules can be divided into positive one-way line, reverse one-way line, double line, forbidden line and so on. Forbidden lines indicate that the arc is prohibited in traffic rules.
public int[] barrierEdges
The obstacle arc ID array identifies which network arcs are the obstacle arcs.
The arc ID is not necessarily the value of the SmID field, but the value of the field specified by edgeIDField
.
public int[] barrierNodes
The obstacle node ID array identifies which network nodes are the obstacle nodes.
The node ID is not necessarily the value of the SmID field, but the value of the field specified bynodeIDField
.
public java.lang.String edgeIDField
The field name that identifies the network arc ID. Once this field is set, it will take effect throughout the analysis.
The default value is "SmEdgeID".
Can not be modifiedpublic java.lang.String edgeNameField
The field name that identifies the network arc name.
Can be modifiedpublic java.lang.String nodeIDField
The field name that identifies the network node ID. The value of this field represents the ID of a node, which takes effect throughout the analysis once set.
The default value is “SmNodeID”.
Can not be modifiedpublic java.lang.String nodeNameField
The field name that identifies the network node name.
Can be modifiedpublic java.lang.String fromNodeIDField
Identifies the field name of the arc start node ID.
The default value is “SmFNode”.
Can not be modifiedpublic java.lang.String toNodeIDField
Identifies the field name of the arc stop node ID.
The default value is “SmTNode”.
Can not be modifiedpublic double tolerance
The distance tolerance from the node to the arc.
In principle, the network analysis can specify any point in the network as a site in the path analysis, The site should be near the network. If this point is not on the network (neither on the arc nor on the node), The network analysis will attribute the site to the network based on the distance tolerance. As shown below, the orange dot represents the network node, blue for the arc, gray point for the site, the red line segment is the distance from the site to the arc AB, and if the distance in the set distance tolerance, the site is attributed to the arc AB.
Set the appropriate distance tolerance in order to ensure the normal network analysis, and when the specified point within the tolerance range, the point will be attributed to the network, In the network analysis, will take the corresponding arc (such as the above mentioned arc AB) of the starting node and the termination of the node as the site to be calculated respectively, And then take the minimum calculation results.
The distance tolerance value can be calculated by the following method:
The default value is 0.01, the unit is the same as the current data set coordinate unit (coordUnit).
public WeightFieldInfo[] weightFieldInfos
A set of weight field information,is a necessary parameter.
Via the weight field information (WeightFieldInfo
) You can get the field names that represent the forward and negative weights.
WeightFieldInfo.backWeightField
and WeightFieldInfo.forwardWeightField
, theoretically can be modifiedpublic TurnDatasetInfo turnDatasetInfo
Steering table data set.
, , can not be modified.# weightFields
can be modifiedpublic java.lang.String pathGuideDescriptionLanguage
public int poolSize
The maximum number of concurrency allowed for traffic transfer analysis.
The default value is Runtime.availableProcessors()
。
public java.lang.Boolean autoCheckNetwork
Whether to automatically check the network dataset
public java.lang.String directionField
Flow field
public boolean initFacilityAnalyst
Whether to initialize facility network analysis
public java.lang.String nodeIDFilterField
In facility network analysis upstream and downstream key facility lookup, it generates filter fields for default sourceNodeIDs parameters
public TransportationAnalystSetting()
The Constructor.
public TransportationAnalystSetting(TransportationAnalystSetting transportationAnalystSetting)
Copy constructor.
transportationAnalystSetting
- traffic network analysis environment setting object.public boolean equals(java.lang.Object obj)
UGCDatasetConnectionInfo
Compare whether the specified object is equal to the current UGCDatasetConnectionInfo
object.
equals
in class UGCDatasetConnectionInfo
obj
- the object that is compared with the current UGCDatasetConnectionInfo
object.public int hashCode()
UGCDatasetConnectionInfo
Gets the hash code value of the SuperMap dataset link information object.
hashCode
in class UGCDatasetConnectionInfo
public TransportationAnalystSetting clone()
clone
in class java.lang.Object
public boolean isMultiInstance()
MultiInstanceSupported
Returns whether the current service provider is enabled
isMultiInstance
in interface MultiInstanceSupported
public void setMultiInstance(boolean isMultiInstance)
MultiInstanceSupported
Sets whether the current service provider is enabled
setMultiInstance
in interface MultiInstanceSupported