iServer Data Preparation

Feedback


SuperMap iServer supports publishing a wide variety of data as GIS services. The data sources are: SuperMap workspace (*.smw, *.sxw, *.smwu, *.sxwu), remote WMS 1.1.1 service, and remote WFS 1.0.0 service, remote iServer REST service, etc.

The workspace is the user's working environment, which stores all the data sources and organizational relationships of maps in a project (the same transaction process). In general, the user's data is based on SuperMap organized in the form of SuperMap workspace. SuperMap iServer recommends users to use SuperMap UGC 6.x workspace (*.smwu/*.sxwu) to manage data. Use database types such as Oracle Plus, SQL Server Plus, MongoDB, PostGIS, PostgreSQL, Yukon, or File data sources such as UDB and UDBX store data (for details, please refer to SuperMap iDesktop 11i (2024) Online Help).

Table 1: SuperMap iServer supported datasources

datasource type Data source
File type datasource UDB datasource (*.udb), UDBX datasource (*.udbx); ArcView Shapefile (*.shp), GeoDatabase Vector (*.gdb) and GeoPackage (*.gpkg) (none support editing, but *.gdb files can be opened in read-write mode, and data sets can be created and copied)
database type DB2 datasource, Elasticsearch datasource, GaussDB 200 datasource, HighGo datasource, MongoDB datasource, MySQL datasource, Oracle Plus datasource, Oracle Spatial datasource, PostgreSQL datasource, PostGIS datasource, SQL Server Plus datasource, DM Plus datasource, Ali PolarDB datasource, Yukon datasource.

 

Notice

  1. Datasources such as UDB datasource, Oracle Plus datasource, and SQl Server Plus support importing other types of data, such as AutoCAD DXF files (*.dxf), AutoCAD Drawing files (*.dwg), ArcInfo GRID files (*.grd), ArcView Shapefile files (*.shp), MapInfo TAB files (*.tab), Bitmap files (*.bmp), JPG files (*.jpg, *.jpeg), PNG Files (*.png), GIF files (*.gif), Erdas Image files (*.img), RAW files (*.raw), SIT image data (*.sit), TIFF Image data (*.tif, *.tiff), etc. Therefore, SuperMap iServer can indirectly publish the above data as GIS services.
  2. SuperMap iServer does not support publishing the datasources before, such as *.sdb data. If you want to use SuperMap, the published *.sdb data, which can be converted to a file-type datasource or database type in SuperMap iDesktop. The specific steps are as follows:

(1) Open the existing SDB datasource and set the name as data_ori.

(2) Create a new Oracle Plus datasource and set the name as data (take the Oracle Plus datasource as an example).

(3) Select all datasets in the SDB datasource and drag them to the Oracle Plus datasource.

(4) Save the datasource and workspace.

Note: In order to ensure the validity of the map made by using the original SDB datasource, you can rename the original SDB datasource first, and then create a new Oracle Plus datasource (with take Oracle Plus datasource as an example.) The name is consistent with the original SDB datasource name.

  1. The file workspace of the Mongodb datasource only supports publishing map services and data services. When querying by queryResults and featureResults, you need to pay attention to the following points:

(1). Support query dataset type: point, line, surface and text.

(2). Field types supported for query: numeric type, character string, and date type.

(3). Query conditions supported: >, <, =, or, and.

Note: 1. When querying, the case of field names should be strictly distinguished and field expressions are not supported.

          2. When the query mode is spatial query, only the following queries are supported: include, intersect, overlap, and separate.

Preparation of two-dimensional data

The preparation of two-dimensional data can generally be carried out according to the following steps:

1.Open SuperMap iDesktop.

2.Create a new datasource or open an existing datasource.

3.Edit the dataset. Right click on the datasource to see the menu for creating, importing, and deleting datasets. In SuperMap iDesktop, the raw data can be edited in 11i (2024).

4.Map making. Make corresponding maps according to the requirements and save the maps.

5.Save the workspace.

The method for creating a datasource is as follows:

You can create a new datasource by finding the "Datasource" group on the "Start" tab in SuperMap iDesktop 11i (2024) and clicking "New", or by right-clicking "Datasource" in the "workspace Manager" and selecting in the pop-up menu. Take creating UDB datasource, Orcacle Plus datasource and SQL Server Plus datasource as examples:

Select new file datasource, select SuperMap UDB File (*.UDB) as the Save Type, and select a save location to create a UDB datasource. Note: SuperMap iServer does not support SDB datasources.

First, you need to prepare an Oracle database, set up a tablespace, and configure the Local Net Service Name.

In iDesktop, select "New Oracle Plus Data Source" and enter the instance name (Oracle client configuration connection name), user name (Oracle corresponding username), password, and data source alias in the dialog box. An Oracle Plus datasource is created.

First you need to prepare a SQL Server database in SuperMap iDesktop 11i (2024). Select New SQL Server Plus Data Source and enter the server name, name, user name, password, datasource alias in the dialog box. A SQL Server Plus datasource is created.

 

After the data is prepared, the publish service of the GIS service can be performed through the SuperMap iServer service manager.

 

Preparation of 3D data

The 3D service released by SuperMap iServer is based on the 3D scene in the workspace. In general, we use SuperMap iDesktop makes data.

1. Open SuperMap iDesktop

2. Create a new 3D scene

Click Scene in the Start tab and select New Scene Window, or right-click Scene in the workspace manager and select New Scene to create an empty 3D scene.

After creating a new 3D scene, you can see in the layer manager that SuperMap U series products divide the layers in the 3D scene into three categories to manage: screen layer, ordinary layer (3D layer) and terrain layer. For a detailed description of these three types of layers, please refer to 3D Introduction .

3.Add data to the 3D scene

Currently, SuperMap iServer supports both publishing 3D scenes generated using cache files and dynamic publishing using SuperMap Three-dimensional scenes created by vector, map, terrain, image and other data.

Note: SuperMap iServer currently only supports SCM format model indexes; Model indexes in KML format are not supported.

After the data is prepared, the publish service of the GIS service can be performed through the SuperMap iServer service manager.