GIS Cloud Suite
Publishing File Workspace
GIS Cloud Suite supports to publish File Workspaces (*.sxwu, *.smwu, *.smw and *.sxw) as GIS services. SuperMap workspace is a user’s work environment, which saves all the datasources and organizational relations of maps into a project.
Please follow the steps to publish File Workspace:
-
Log in to GIS Cloud Suite, clicks on iManager Home > System Management; clicks Service Management > Service Instances on the left navigation bar; clicks on + Publish Service on the page of Service Instances. Selects File Workspace and clicks on Next.
- Advanced Options(Used for customize configuration): Customize the configuration to build services, more details please refer to SuperMap iServer Documentation. To extent services please refer to Service Management > Service Extension. To migrate services from iServer please refer to Appendix > iServer Services Migration.
-
Select the data from file manager. Please refer GIS Cloud Suite > File Management to upload data.
- Workspace Password(Optional): If the file workspace you choice has password, please fill in the correct password; If the file workspace does not have password, keep empty.
- Select the service type. Please refer to the relationship table in GIS Cloud Suite >Service Management > Service Instances > Publish Service.
-
Configure the service.
When the service types are REST-Map Service, REST-Data Service, REST-Vector Tiles Service, WMS1.1.1 Service, WMS1.3.0 Service, WMTS1.0.0 Service, WMTS-CHINA Service, WFS1.0.0 Service, WFS 2.0.0 Service, WCS1.1.1 Service, WCS1.1.2 Service, ArcGIS REST Map Service, ArcGIS REST Feature Service, Baidu REST Map Service, and Google REST Map Service, select whether the service configuration is Editable. If the service configuration is editable, the visitors allow to modify the service configuration.
When the service types are REST-Data Service, WFS1.0.0 Service, WFS 2.0.0 Service, WCS1.1.1 Service, WCS1.1.2 Service, and ArcGIS REST Feature Service, you can enable Choose datasets to be published to specify the datasets to be published, or the system will publish all the datasets by default.
When the service type is REST-Addressmatching Service, please fill out the following parameters:
- Address dictionary(Required): The path of address dictionary file(.dct). The Address Dictionary file provides the Chinese characters segmentation rules, it cuts the Chinese characters into meaningful words, for example, 我是一个学生, the result is: 我/是/一个/学生. An Address Dictionary is a set of these meaningful words. GIS Cloud Suite povides internal Address Dictionary, users can also customize dictionaries for the data through SuperMap iObject Java.
- Data source(Required): Select the datasource used for address matching.
- Dataset(Required): Select the dataset used for address matching.
- Search field(Required): Select the search field used for address matching, the address is combined with the field values.
Example:
Set the search field to “province, city, county”, the returned address name should be “Sichuan province ChengDu City ShuangLiu County”.
- Index directory(Required): When publishing a workspace as Addressmatching service, this parameter is used to specify the output path of the generated address index file. During 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 can also input an existing index file to publish address matching service.
- Search radius(Required): Search radius is used for GeoDecoding, users will get the results in the specify radius after setting the search radius. The unit of search radius should be as same as datasets. While the unit of datasets in degrees, the default value of search radius is 0.01 degree. While in meters, it is 500 meters.
- Max return count: The maximum return count of the results.
- Grid Distance: Set grid distance while creating index, the unit should consistents with dataset. ‘-1’ means to use the default value.
- Update index regularly: Wether to update the address matching index regularly.
When the service type is REST Transportation Analysis Service, please configure the following parameters:
- Data source name(Required): The datasource name of the network dataset used for traffic network analysis.
- Network dataset name(Required): The name of the network dataset used for traffic network analysis.
- Edge ID field(Required): The field that identify the ID of the network arc. The value is SmID by default.
- Node ID field(Required): The field that identify the ID of the network node.
- fromNode field(Required): The field that identify the starting node ID in the network dataset.
- toNode field(Required): The field that identify the final node ID in the network dataset.
- WeightFieldInfo collection: Add one field as the weight field.
When the service type is REST Transfer Analysis Service, please configure the following parameters:
- Transfer network name: The transfer network name. The prefix is “transferNetwork-” by default.
-
Bus line environment settings:
- Datasource name(Required): The name of the bus line datasource used for traffic transfer analysis.
- Dataset name(Required): The name of the bus line dataset used for traffic transfer analysis.
- ID field of line(Required): The field of the transfer line ID.
- Line name field(Required): The field of the transfer line.
-
Bus stops environment set:
- Datasource name(Required): The name of the datasource holding the transfer stops participating the traffic transfer analysis.
- Dataset name(Required): The name of the dataset for transfer stops participating the traffic transfer analysis.
- ID field of stop(Required): The field of the transfer stop ID.
- Stop field name(Required): The field of the transfer stop.
-
Relationship settings:
- Datasource alias(Required): The datasource holding the dataset for the relationship between the stops and lines.
- Dataset name(Required): The dataset for the relationship between the stops and lines.
- ID field of line(Required): The field of the transfer line ID.
- ID field of stop(Required): The field of the transfer stop ID.
When you only select one kind of service type to publish, you can define the name of service instance:
- Service Name: Define the name of service instance. The service name will be generated according to datasource and service type automatically if you do not define.
-
Select the service node.
- New node: Create a service node to carry the service instance. If this is your first time to publish service, you need to create a service node.
- Existing nodes(Recommend): Select the existing service nodes to carry the service instance. If the existing service nodes do not have the license permission, please create a new one.
- Clicks on Publish and wait for the prompt.