Parameters for configuring address matching service provider |
The address matching service provider encapsulates the address matching function obtained from the SuperMap workspace. You can configure workspace or address matching index as address matching service provider. When configuring workspace, you need set the following parameters; When configuring address matching index, you need set "Index directory", "Query radius", "Maximum number of results" and advanced settings, where "Index directory" is required parameter.
Table 1. Local Address Matching Service Provider Configuration Parameters
Name | Description | ||
General information |
Service Provider name | [Required]
Uniquely identifies the service provider. The default name prefix is "addressmatch-". |
|
Basic Settings |
The type of Workspace. | [Required]
The type of workspace includes file type, database type (SQL Server, Oracle workspace). SQL Server workspace represents that the workspace is stored in the SQL Server database and the Oracle workspace represents that the workspace is stored in the Oracle database. |
|
Workspace path | Remote server file system | Required when the workspace is a file type,
see the database
type workspace information settings when it is database
type. When the server is not local, select "remote browsing",
you can use the file on the server or upload the local file
to the server before use; if the server is local, select "local".
The workspace (*.smwu, *.sxwu, *.smw, *.sxw) stores the relevant information about GIS data. |
|
Local file system | |||
Workspace password | The password, if not existed, set it to empty or input any chars. | ||
The dictionary path | [Required]
The address dictionary file path, with suffix as ".dct". The address dictionary file specifies the Chinese word segmentation rules, to separate the Chinese sentence into meaningful words, for example: "我是一个学生" to be "我/是/一个/学生". The address dictionary is a collection of these meaningful words. SuperMap iServer has built-in address dictionary, you can also use SuperMap iObject Java to customize the address dictionary for your data. |
||
Datasource | [Required]
The name of the datasource that participates in the address matching analysis. |
||
Dataset | [Required]
The name of the dataset that participates in the address matching analysis. |
||
Query field | [Required]
The field that participates in the address matching. |
||
Query radius | [Required]
It is used to set the query range. After setting, the user will get the result within the specified radius. Valid when using reverse address matching. The unit is Meter. |
||
Index directory | When publishing a workspace as address matching services, this parameter is used to specify the output path of the generated address index file. During the publishing, the sytem will build index according to the specified fields of the dataset being used, and segment words to them based on the input dictionary. Here you also can input an existed index file to publish address matching service. | ||
Grouping field | Set the grouping field, such as “province,city,county. When the user uses the address matching function, the query range will be restricted according to the grouping field. | ||
Maximum number of results | Displays the maximum number of the results. | ||
Advanced setting |
Thread pool size | Thread buffer pool size. |