Parameters for configuring spatial analysis service provider

Feedback


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

Local spatial analysis service provider

Local spatial analysis service provider encapsulates the spatial analysis functionality from SuperMap workspaces.

Table 1. Configuration parameters of local spatial 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 "ugcSpatialProvider-".

Basic settings

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.
Workspace path Remote file system Required while the workspace is of the file type. Please refer to Table 2 Parameter of database workspace information setttings 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.

Advanced settings

Datasources involved The data source name that is to participate in spatial analysis. You can add more than one data source to the "datasources involved" list. When you do not specify a data source name, the default is to use the all data source in workspace.
Temporary datasource The data source name for temporary storage of the data result which is generated randomly by system by default.

REST spatial analysis service provider

REST spatial analysis service provider uses REST SpatialAnalyst service to realize the spatial analysis.

Table 2. Configuration parameters of REST spatial 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 "restSpatialAnalystProvider-".
Basic settings REST service URL REST spatial analysis service address, pointing at the root resource path, such as http://localhost:8090/iserver/services/spatialanalyst-sample/restjsr.
Advanced settings Token or API-Key When enabling the security mechanism, visiting the protected REST resource needs to provide Token or API-Key.
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.