Data

Feedback


As the portal platform of cloud GIS, SuperMap iPortal supports integrating traditional data, such as SuperMap GIS data, common GIS data and Excel, CSV files with geospatial coordinates, and also supports accessing big data, such as HDFS and HBase. Besides the GIS data, the non-GIS data (such as video, audio, image) can also be added to iPortal by using REST API. The data added to the portal can be used in built-in WebApps to use maps or various charts for visual expression and in-depth analysis.

Upload data

To upload data in iPortal, the user must be the "CREATOR" type and has the role of uploading data and publishing service permissions, such as DATA_CENTER (the division of user type and permissions in iPortal, see: Role, User Type and Permissions). Also, the administrator needs to Specify hosting servers and Configure hosted data storage.

iPortal supports to configure binary and relational hosted data storage, and defaults to use binary storage. If both are configured, the system will give priority to relational storage and will also back up the uploaded data in binary storage. But there are still some data such as cached tiles only can be stored in the binary storage. Table 1 below shows the corresponding relationship of data type, data files, service type to publish and download format supported by the uploaded data.

Table 1: The corresponding relationship of data type, data files, service type to publish and download format supported by the uploaded data

Data Type Data File Supported Service Type to Publish Supported Download Format
SuperMap Workspace

The zip package compressed with the workspace in the format of *.sxwu, *.smwu, *.sxw or *.smw and the related UDB datasources.

REST map service
REST data service
REST 3D service
REST spatial analysis service
WMS 1.1.1 service
WMS 1.3.0 service
WMTS 1.0.0 service
WMTS-China service
WORKSPACE
UDB¹
SHP¹
SuperMap UDB data

The zip package compressed with *.udb and *.udd format files.

REST map service¹
REST data service
REST spatial analysis service¹
UDB
SHP¹
Shapefile

The zip package compressed with *.shp, *.dbf, *.shx, *.prj, etc., format files.

REST map service
REST data service
REST spatial analysis service¹
WMS 1.1.1 service
WMS 1.3.0 service
WMTS 1.0.0 service
WMTS-China service
UDB¹
SHP
SMTiles file

The *.smtiles format file, or the zip package compressed with the *.smtiles format file.

REST map service
WMS 1.1.1 service
WMS 1.3.0 service
WMTS 1.0.0 service
WMTS-China service
SMTILES
SVTiles file

The *.svtiles format file, or the zip package compressed with the *.svtiles format file.

REST map service SVTILES
MBTiles file

The *.mbtiles format data file, or the zip package compressed with the *.mbtiles format data file.

REST map service
WMS 1.1.1 service
WMS 1.3.0 service
WMTS 1.0.0 service
WMTS-China service
MBTILES
TPK file

The *.tpk format data file, or the zip package compressed with the *.tpk format data file.

REST map service
WMS 1.1.1 service
WMS 1.3.0 service
WMTS 1.0.0 service
WMTS-China service
TPK
UGCV5 cache

The zip package compressed with the UGCV5 cache files.

REST map service
WMS 1.1.1 service
WMS 1.3.0 service
WMTS 1.0.0 service
WMTS-China service
UGCV5
UGCV5(MVT) cache

The zip package compressed with the UGCV5 vector cache files.

REST map service
WMS 1.1.1 service
WMS 1.3.0 service
WMTS 1.0.0 service
WMTS-China service
UGCV5_MVT 
JSON data

The *.json format data file.

- JSON
Excel data

The *.xls, or *.xlsx format data file.

REST map service¹
REST data service¹
REST spatial analysis service¹
EXCEL
UDB¹
SHP¹
CSV data

The *.csv format data file.

REST map service¹
REST data service¹
REST spatial analysis service¹
CSV
UDB¹
SHP¹
GeoJSON data

The *.geojson format data file.

REST map service¹
REST data service¹
REST spatial analysis service¹
 
PDF data

The *.pdf format data file.

-  
Other types

The any format data file.

- GEOJSON
UDB¹
SHP¹

¹ Represents the service type, or the download format is only supported when configuring the relational storage.

 

If you need to manage non-GIS data such as audio and video resources, you can upload it by using REST API. For details, see: The POST request of myDatas resource.

Additionally, iPortal has a size limit on the data capacity uploaded to iPortal. By default, the maximum capacity you can upload is 2048MB. The administrator can modify this configuration. For details, see: The uploaded data capacity configuration.

 

Upload steps:

  1. On iPortal home page, click Resource Center > Data to enter the data resource page, click "Upload data" (needs login) to enter the data uploading page;

  2. Select "Data Type", specify the "Data File" to upload, set the "Name" and "Tags", then click "Next";

  3. Check the service type to publish, click "Upload and Publish", wait until the data uploading and publishing are finished, then the process is completed. Or you can also uncheck and directly click "Upload" to upload the data. When the uploading is finished, you can also perform publishing operations on Resource Center > Data > My Data page.

Note: If uploading Shapefile data, you also need to choose the file encoding format: UTF-8/GBK.

 

When uploading is finished, the system will automatically forward to the details page of the uploaded data item, you can view/edit related infos, download data, or switch to the "Sharing" tab to perform sharing operations. For details, see: Share data.

 

All of the uploaded data will be shown on the Resource Center > Data > My Data page. Besides the publish, edit, download, and share operations you can perform on the My Data page, the operations of update, delete, preview pdf data are also provided.

 

Note:

 1 If the iPortal administrator enables the Service review function (disabled by default), after the data is published as services, the hosted services that automatically registered into iPortal will be in "Pending Review" state. The registration will succeed only when the administrator approves the review. To set sharing settings for a service to be reviewed or an unapproved service will not take effect. Users can check whether a service is approved or not by viewing the identification on the service thumbnail on "My Service" page. "Pending administrator review" shows the service in a "pending" state, while "Review Rejected" shows the administrator has rejected the review.

2 The data from adding a file, the point, line, or region data from adding a markerlayer in DataViz WebApp, and the data added in DataInsights WebApp, all of them will be saved in "My Data".

3: If the number of services you can publish has reached the upper limit, please contact your administrator to update the quota for you.

 

Register data

Registering data in iPortal also requires the user to be of the "CREATOR" type and has the role of uploading data and publishing service permissions, such as DATA_CENTER (the division of user type and permissions in iPortal, see: Role, User Type and Permissions). Also, the administrator needs to specify hosting servers. iPortal supports to register the following format data:

 

Register HDFS data:

  1. On iPortal home page, click Resource Center > Data to enter the data resource page, click "Register Data" (needs login) to enter the registration page, setting the following items:

  2. Type: the type of data to register. Here select HDFS.
  3. HDFS Data Path: fill in the HDFS path + CSV name, such as: hdfs://{ip}:9000/data/newyork_taxi_2013-01_14k.csv
  4. Name: fill in the custom data name
  5. Tags: fill in the custom tags for the data
  1. Click "Register", the system will automatically parse and display the related configuration infos for the data, but you need to verify them manually:

  2. X Index: the column corresponding to the X coordinate in the data
  3. Y Index: the column corresponding to the Y coordinate in the data
  4. EpsgCode: the EPSG code corresponding to the projected coordinate system of the data
  5. Separator: the separator character in the CSV file
  6. Whether include header: check according to whether the registered CSV data includes the table header
  1. Click the "Verify" button to confirm the data configuration infos. If you can't confirm now, you can click "Verify Later". Later, you can also verify by clicking the button on the data item or on the details page.

 

Register HBase data:

  1. On iPortal home page, click Resource Center > Data to enter the data resource page, click "Register Data" (needs login) to enter the registration page, setting the following items:

  2. Type: the type of data to register. Here select HBase
  3. Service Address: fill in the HBase database service address
  4. Database: fill in the name of the HBase database
  5. Tags: fill in the custom tags for the data
  1. Click "Register" to complete the HBase data registration process.

 

After registered successfully, the system will automatically forward to the details page of the data item, where you can view or edit related infos. To share the data, you can switch to the "Sharing" tab to perform. For details, see: Share data.

All of the registered data shows on the Resource Center > Data > My Data page. Note: The registered data doesn't occupy data storage capacity, and doesn't support publishing and downloading, only supports editing data details, sharing data, and deleting data operations.

 

Using the data added to iPortal

The GIS data added into the portal can be directly used in built-in WebApps to use maps or various charts for visual expression and in-depth analysis. Also, when the data is published as services, the services can be used in WebApps or called by other Web GIS applications. Specifically:

Note: The added HDFS and HBase data only can be used for the distributed analysis function.