Data |
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 database data. 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. Note: If the administrator has enabled the Data Review function, the newly added data into the portal cannot be searched and used in the portal until the review is approved.
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 |
FileGDB |
The *.zip format file |
- | GDB |
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¹ |
GEOJSON UDB¹ SHP¹ |
PDF data |
The *.pdf format data file. |
- | |
Other types |
The any format data file. |
- | Any format |
¹ 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:
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;
Select "Data Type", specify the "Data File" to upload, set the "Name" and "Tags", then click "Next"; click "Upload and Publish" to upload and publish the data to the service. If you use the shared storage publishing service, please refer to: Use shared storage publishing services.
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.
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:
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:
Click "Register", the system will automatically parse and display the related configuration infos for the data, but you need to verify them manually:
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 PostGIS database:
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:
Click "Register" to complete the PostGIS data registration process.
Register PostgreSQL database:
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:
Click "Register" to complete the PostgreSQL data registration process.
Register MySQL database:
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:
Click "Register" to complete the MySQL 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.
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:
In the DataViz Web App :
In the DataInsights Web App:
Note: The added HDFS data only can be used for the distributed analysis function.
In the iEarth Web App: You can add the published REST 3D service into the scene as a layer. And in the scene, you can Add point, line, or region features, or use measure, query, or perform analysis functions.
In the MapDashboard Web App, the public data, my data, iServer REST service are supported as the datasource of the visual components. For details, see: Add visual components.
In your Web GIS system, to call the services in iPortal, see: Use iCient JavaScript to call the resources of iPortal.