Publish the data resource service in Workspace to the local or Remote service server through Publish Workspace to realize resource sharing in the form of Web network. Before Publish Workspace, you need to make sure that you have an administrator account and that the iServer service is started locally or remotely.
The specific operation steps are as follows:
- Start iServer service: By default, run the startup. Bat/startup. Sh under the bin directory of SuperMap iServer.
- Online tab-> Publish iSever Service group-> Workspace , popup Publish Workspace dialog.
- Enter the iServer address of the Publich Service. Click the combo box Drop-down Button and select New Connection. Enter Server Address, user name and password of administrator account in the popup Login SuperMap iServer dialog box. After successful login, the program will Auto Save the connected address, and you can select History to achieve quick login in subsequent logins. Server Address supports entering the Server Address after the custom iServer installation directory/webapps/iserverFolder Name. At the same time, it is compatible with three iServerServer Address formats of localhost, HTTP, and HTTPS. The formats are as follows: Caution:
If the iServer service is not started or the administrator account or password is entered incorrectly, the user will not be able to log in normally. Please verify that Link Information is correct before logging in again.
- localhost:8090
- localhost:8090/iserver
- localhost:8090/userdefine
- http://localhost:8090
- http://localhost:8090/iserver
- http://localhost:8090/userdefine
- https://localhost:8443
- https://localhost:8443/iserver
- https://localhost:8443/userdefine
- Select the Server Type you want. Provides REST services, OGC services, and Other services.
- REST Service: REST (REpresentational State Transfer), or Representational State Transfer, is a style of software architecture. REST Services include Data Service, Map Service, Spatial Analyst Service, 3D Service, 3D Network Service, and Transportation Analyst Service. You can check the check box of the corresponding service as required. of Datasource and Dataset
REST Service type Support for operation Data Service - Get and modify Datasource Info, such as Datasource Name, Description, Projection, Unit, Distance Unit, etc.
- Get and edit Dataset Information, such as create, modify, or Delete Dataset. Operate
- the Spatial Data in the Dataset, including obtaining, modifying, adding, and deleting the Spatial Data in the Dataset. Operate the fields in
- the Dataset, including obtaining, modifying, adding, Delete Field, and statistical calculation. Features in the
- Query Data set.
Map Service - Get pictures of maps and layers and related information. Create, modify, and delete
- layers.
- Get a picture of Hawkeye. Query and measure
- the map, such as Distance Measure and Area Measure, and obtain the results.
- Highlight the geometry figure.
- Clear the map image cached by the server.
Spatial Analyst Service - Perform Buffer Zone Analysis, Overlay Analysis, Surface Analysis (such as extracting isoline and isosurface), Services such as Proximity Analysis (such as generating Thiessen Polygon), Difference Analysis, Spatial Relationship Analysis, Linear Analysis, etc. Perform Buffer Zone AnalysisOverlay Analysis and Surface Analysis (such as extracting isoline and isosurface)
- on Geometry. Proximity Analysis (such as generating Thiessen Polygon).
3D Service - Get a list of layers and related information in 3D Scene.
- Acquire the description of a certain 3D layer in the 3D Scene, including the name and type of the 3D layer, the path corresponding to the 3D Data, and the cache layer number of the used data in the 3D Data.
- Get 3D Data, Config File of data.
- Obtain the index file and cache file of ModelCache Data and the version of a certain cache file in 3D Cache Data.
Warning:Publishing as a serviceis only supported for loaded cached scenes. If there is a scene loaded with Dataset in Workspace, the data in all scenes will not be visible after publishing. It is recommended that all scenes in Workspace have Cache Data loaded.
- OGC Service: OGC (Open Geospatial Consortium), the Open Geospatial Group, is the industry leader in developing standards for geospatial and Location Services. The OGC Service supports the coordinate reference system of the data itself, including the user-defined coordinate reference system and the plane non-Projected Coordinate reference system. Both GCS _ WGS _ 1984 (EPSG 4326) and PCS _ WGS _ 1984 _ WORLD _ MERCATOR (EPSG 3857) are supported. For more information about OGC Service, see: OGC Services .
- Other services: including ArcGIS REST Map Service, Baidu REST Map service, Google REST Map service, etc.
- REST Service: REST (REpresentational State Transfer), or Representational State Transfer, is a style of software architecture. REST Services include Data Service, Map Service, Spatial Analyst Service, 3D Service, 3D Network Service, and Transportation Analyst Service. You can check the check box of the corresponding service as required. of Datasource and Dataset
- Parameter Settings section:
- Check Editable to allow other clients to edit the published data, such as Create Dataset and Modify Dataset Name.
- Check Upload Works pace . If not checked, the service will be unavailable when the locally saved Workspace location is changed.
- Click the Publish button to pop up the Confirm Selection dialog box, which displays the data in the cache directory. Check the data to be uploaded.
If the map contains Tile Data, you will be prompted when publishing: " There is a Tile Layer in the map. After publishing, the service browsing performance will be reduced. Do you want to continue publishing?"? Click Yes to continue the Publish Map Service, or click No to Cancel. After Cancel, you can remove the Tile Data and re-publish the Service.
Related topics