Description of Configuration Parameters for Address Matching Service Provider

Feedback


SuperMap iServer supports the following types of address matching service providers:

Address Matching Provider

The address matching provider encapsulates the address matching function obtained from the SuperMap workspace. You can configure the workspace or the address matching index as the address matching provider. When the workspace is configured, it shall be configured according to the following parameter description; When configuring the address matching index, fill in the parameters "index directory", "search radius", "Max return count" and "advanced setting", among which "index directory" is required.

Table 1 Configuration Parameters of Local Address Matching Provider

  Parameter Name Description

Common Info

Provider Name Required parameter
Uniquely identifies the service providers. The default name prefix is "address Match-".

Basic Setting

Workspace Type Required parameter
The workspace type is divided into file type and database type (SQL Server, Oracle, DM workspace). SQL Server workspace indicates that the workspace is stored in a SQL Server database, and Oracle workspace indicates that the workspace is stored in Oracle database, DM workspace indicates that the workspace is saved in the DM database.
Workspace Path Remote server file system When workspace is file type, it must be selected; when it is database type, please refer to Workspace Information of Database Type to Set Parameters . When the server is not local, select "Remote Browse" to use the files on the server or upload the local files to the server for use; when the server is local, select "Local Browse".
SuperMap's workspace (*.smwu, *.sxwu, *.smw, *.sxw) stores information about GIS data.
Local File System
Workspace Password The password of the workspace used can be left blank or input any character when it does not exist.
Dictionary Path Required parameter
Address dictionaryfile path with the suffix ".dct". Chinese word segmentation rules are specified in the address dictionary file. Word segmentation is to divide the sequence of Chinese characters into meaningful words. For example: I am a student. The result of word segmentation is: I/am/a/student. An address dictionary is a collection of these meaningful words. SuperMap The iServer has a built-in address dictionary, and the you can also customizes the address dictionary for your data through the SuperMap iobject Java. Note that you can choose the address dictionary based on the font you need to match. For Simplified Chinese, please choose a Simplified Address Matching Dictionary, such as addressMatchDictionary.DCT; For traditional Chinese, please select a traditional Chinese address matching dictionary, such as addressMatchDictionaryTraditionalChinese.dct.
Traditional Index Whether to generate traditional index. This parameter can only be used for matching when using traditional address matching dictionary .
Datasource Required parameter
Datasource name use for address match.
Dataset Required parameter
Dataset name use for address match.
Search Field Required parameter
Fields that participate in address matching.
Search Radius Required parameter
Query range. After setting, the user will get the results within the specified radius. It is valid when using reverse address matching. The unit is consistent with the projection system unit of the index. If the search radius is not set, the default value of -1 is used, indicating that the entire layer range is queried. The search radius defaults to 0.01 degrees in degrees and 500 meters in meters.
Index Directory When release workspace is address match service, this parameter is used to specify the directory of the generated address index. When publishing services, the system will build an index based on the content of the specified field in the data set participating in the address matching, and at the same time, it will be segmented, which is based on the dictionary passed in.
You can also enter the existing index directory here to publish the address match service.
Group Field Set the group field, for example, "province,city,county". When the user uses the address matching function, the query range will be limited according to the set group field.
Max Return Count Max return count of results.
Advanced Setting Grid Distance The distance between the grids when the index was created. -1 indicates the default value: when the coordinate system of the data set is a geographic coordinate system, the default value is 0.01 degree; when the coordinate system is a projection coordinate system, the default value is 1000 meters.
Update Index Regularly Whether to update index regularly the file. When update index regularly is enabled, two update modes are supported: update on certain day and update on interval.

 

Note: 1. When using the address match service, it is recommended that the projection of all data sets be consistent.

2. Currently, only Chinese is supported for matching, not English.

 

ArcGIS REST Address Matching Provider

The ArcGIS REST address matching provider encapsulates the address matching function obtained from oline ArcGIS REST service, The following table describes the parameter that you need to set and their descriptions.

Table 2 Configuration Parameters of ArcGIS REST Address Matching Provider

  Parameter Name Description
Common Info Provider Name 【Required】
Unique identification of the service provider. The default name prefix is "arcgisRestGeocodeProvider-".
Basic Setting Root directory URL of ArcGIS REST 【Required】
The root directory address of the remote ArcGIS REST geocoding service. For example: http://localhost:6080/arcgis/rest/services/sample/GocodeServer .
Advanced Setting Token When security mechanisms are enabled, accessing protected REST resources requires providing a Token or API-Key.
HTTP referer If the obtained token is generated in the form of an HTTP Referer, the corresponding HTTP Referer needs to be filled in.