Configuring Service Components through the Service Manager |
SuperMap iServer provides map component, data component, 3D component, transportation analyst component, traffic transfer analyst component、spatial analyst component、plot component、3d network analyst component、 There are nine standard types of service components in the address matching component. In addition, the user is allowed to customize the service component type and configure the corresponding custom type of components. For different service component type, users need to set different parameters.
SuperMap iServer has the functions of customizing component type, adding new service components, modifying the configuration of existing service components, and deleting a certain service component. The three parameters for user-defined component type are all required parameters. For standard type service components, the red * in the service page indicates required parameters.
When customizing component types, it is necessary to set meta information resource aliases, meta information resource type names, and meta information resource configuration class names. These three are mandatory parameters, where the meta information resource alias refers to the alias of the resource class, the meta information resource type name refers to the name of the implementation class of the user-defined component type, and the meta information resource configuration class name refers to the name of the configuration class of the user-defined component type.
When adding a map component, the user needs to specify the service component name, the component type (map services), and the name of the bound service interfaces, which are all required parameters. If the component depends on services provided by the service providers collection, you also need to specify the service providers collection. In addition, you can also set the whether to enabletile to splice and cut the plot and enable caching, which are not enabled by default. When you choose to enable in the vector tiles caches When MogoDB cache type, you can add storage position and click "Add Storage Position". Enter the storage ID, tiles storage type, service address, database, and the account and password that have access to the database, with The '*' section is required. Note that the MongoDB cache type supports only MVT vector tiles.
Add data component, 3D component, transportation analyst component, traffic transfer analyst component, spatial analyst component, etc. The user needs to specify the service component name, the component type (data service or 3D service), and the bound service interfaces name. These are all required parameters. In addition, the user can specify service providers (collections), which are optional parameters. When adding a data component, you can set whether the data is editable. The default value is non-editable.
For a custom component type, the user needs to provide the configuration information of the component in the form of a JSON string.
Whether to use the component layer cache can be configured for all service component type, which is off by default (for detailed configuration, please refer to Modify service components configuration below).
Click the name of the service component to see the configuration information of the service component. All items except "service component type" can be modified. Click "Save Change" to save.
For data component, check "Enable Editable" to control the editability of data component.
For map component, you can configure the component layer cache, including map tiles, vector tiles .
You can delete one or more service components from the service providers list:
1.Select one or more service components to be deleted
2.Click the "Delete" button
3.Click "Yes" in the pop-up confirmation dialog box