Parameters for configuring transportation analyst service provider

Feedback


SuperMap iServer supports the following types of transportation analysis service providers:

Local transportation analysis service provider

Transportation analysis service provider encapsulates the transportation network analysis functionality from SuperMap workspaces.

Table 1. Configuration parameters of local transporation analysis service provider

  Parameter name Description

General settings

Service provider name [Required parameter] Uniquely identifies this service provider. The prefix of the default name is "transportationAnalystProvider-".

Basic settings

  
(After selecting a workspace, options for datasource name, network dataset name, etc. will be acquired automatically from the workspace for users to choose)
Workspace type [Required parameter] The types of workspaces are divided into file type and database type (SQL Server, Oracle workspace). The SQL Server workspace indicates the workspace is stored in the SQL Server database. The Oracle workspace indicates the workspace is stored in the Oracle database. The parameter settings of the database workspace is shown in table 2.
Workspace path
 
Remote file system Required while the workspace is of the file type. Please refer to Table 2 Parameter of database workspace information settings if the database is of the database type. While the server is not at local, select "Remote browse" to use files on the server or local files uploaded to the server; while the server is at local, select "Local browse" .
The SuperMap workspaces (*.smwu, *.sxwu, *.smw, *.sxw) store the GIS data information.
Local file system
Password The password of the workspace. When there is no password for the workspace, you can have it blank or enter any characters.
Datasource name [Required parameter] The name of data source of the network dataset using for traffic network analysis.
Network dataset name [Required parameter] The name of the network dataset using for traffic network analysis.
Edge ID field The field that identify the ID of the network arc. The default value is SmID.
Edge name field The field that identify the name of the network arc. If the driving guide needs to be generated while performing the analysis, this paramter needs to be set.
Node ID field [Required parameter] The field that identify the ID of the network node.
Node name field The name of the field identifying the network node name.
fromNode field [Required parameter] The field that identify the starting node ID in the network dataset.
toNode field [Required parameter] The field that identify the final node ID in the network dataset.
Weight field collection Add one field as the weight field.
Whether to automatically check the network dataset Automatically inspect the network dataset if checked; manually inspect the network dataset if not.

Advanced settings

Tolerance Tolerance In the traffic network analysis, if the site you choose for analysis is not on the network (neither on the arcs nor on the nodes), the system will calculate the distance from the site to the nearest arc. Puts this site to the arc if the distance is in the tolerance.
Traffic rule settings Traffic rule field The field indicating the traffic rules in the network dataset. If Traffic rule settings is checked, this parameter is required. You can click Automatically acquire settings from workspace to list options for the field.Forward single way string array
The road is in forward direction and one-way road if the traffic rule field value of the arc is in this column.
The road is in backward direction and one-way road if the traffic rule field value of the arc is in this column.
The road is two-way road if the traffic rule field value of the arc is in this column.
The road is restricted if the traffic rule field value of the arc is in this column.
Turn dataset Turn dataset The turn table dataset used for transportation network analysis.
Barrier settings Barrier edge ID array It is barrier arc if the arc field value is in this column. If an arc was set as barrier indicates that the arc is restricted in the analysis process.
Barrier node ID array It is barrier node if the node field value is in this column. If an node was set as barrier indicates that the node is restricted in the analysis process.

REST transportation analysis service provider

REST transportation analysis service provider uses REST Transportation Analysis Provider to realize the related functions of bus transfer.

Table 2. Configuration parameters of REST transportation analysis provider

  Parameter name Description
General settings Service provider name [Required parameter]
Uniquely identifies this service provider. The prefix of the default name is "restTransportationAnalystProvider-".
Basic settings REST service root URI REST transportation analysis service address, pointing at the root resource path, like http://localhost:8090/iserver/services/transportationanalyst-sample/rest.
Advanced settings Token or API-Key When enabling the security mechanism, visiting the protected REST resource requires Token or API-Key.
HTTP referer The corresponding HTTP referer when using Token. If the obtained Token is applied in HTTP referer mode, you need set this parameter.
Enable caching Whether to use caches. Default is true. After opening the REST cache, the REST request to the resource will be cached locally. For the later same requests will be read directly in the cache.
Cache policy Maximum capacity of disk The maximum capacity of the disk. Unit is MB, and default is 2048MB.
Survival time Sets the upper limit for the survival of the cache, beginning at the creation of the record. The cache is automatically removed after the limit. Unit is second. Default is 0, denoting permanent survival.
Idle time Sets the upper limit for the idle time of the cache, beginning at the last visit. The cache is automatically removed after the limit. Unit is second. Default is 0, denoting permanent survival.

ArcGIS REST network anaysis service provider

ArcGIS REST network analysis service provider uses ArcGIS REST Network Analysis service to realize the related functions of traffic network analysis.

Table 3. Configuration parameters of ArcGIS REST network analysis service provider

  Parameter name Description
General settings Service provider name [Required parameter]
Uniquely identifies this service provider. 
Basic settings ArcGIS REST network analysis url [Required parameter]
The service address of ArcGIS REST network analysis. Points to the root resource of network analysis, for example: http://localhost:6080/arcgis/rest/services/exercise/NAServer.
Token When enabling the security mechanism, visiting the protected REST resource requires Token.
HTTP referer he corresponding HTTP referer when using Token. If the obtained Token is applied in HTTP referer mode, you need set this parameter.
Network dataset [Required parameter]
ArcGIS  network dataset.
Path analysis layer The layer for optimal path analysis.
Service area analysis layer The layer for service area analysis.
closest facility analysis layer The layer for closest facility location.