Add layer |
After selecting the appropriate basemap, you can add layers. MapStudio supports adding SuerMap REST Services, OGC WMTS Services, and OGC WMS Services from the Web and iPortal as layers. It should be noted that the coordinate system of the added layer must be consistent with the coordinate system of the basemap.
The steps to add data as a layer from the data list are as follows:
Method 1: Click 'Data' on the left side of the MapStudio page, select a piece of data in the displayed data list and drag it directly onto the map; or click the icon to add the data with one click.
Method 2:
Support accessing to the Map Service, Data Service, Vector Tile Service, and Image Service in the Resource Center of the SuperMap iPortal as layers.
The specific steps are as follows:
Add SuperMap image Service: Click the target service. If the service contains multiple image collections, all image collections under the service will be expanded. Click to select one or more image collections that need to be added. An unclickable map item means its coordinate system is consistent with the basemap.
Add OGC Services: including WMS and WMTS Services.
a) Add OGC WMS Service: Select the target service, and the WMS map will be added to the map as a raster layer by default. If the map contains multiple layers, click 'Select Layer' in the pop-up window and select one or more layers to be added, click OK to complete the addition.
b) Add OGC WMTS Service: Select the target service, and click the showed 'Select layer', select the layer to be added and set the correct scale set, click OK to complete the addition.
The administrator needs to configure the structured data storage to save the data before uploading.
Supported data formats: CSV, EXCEL, GeoJSON.
Supported coordinate systems: WGS 1984, WGS 1984 / Pseudo-Mercator, CGCS2000, Xian 1980, Beijing 1954.
The steps are as follows:
a) MapStudio will parse your data and show some of it on this page for preview, if there are any discrepancies in the parsing, you can change the field type in the header.
b) According to the data information, you can modify the separator, file encoding, and whether use the first line as the field name. The preview page will update instantly when modified.
c) The spatial information of the data will be used to add to the map, including the coordinate type, coordinate field, coordinate system, etc. Click 'Upload' when finished.
4.Wait for the upload to complete, Layer panel and Data panel will show the uploaded layer and corresponding data separately.
Support accessing to layers via the service address, including the REST Map Service and Vector Tile Service published in SuperMap iServer, OGC WMTS Service, OGC WMS Service, and Image Service.
The operation steps are as follows:
SuperMap REST Vector Tile service address: http://<server>:<port>/iserver/services/{component}/restjsr/maps/{mapName}
SuperMap REST Data Service address: http://<server>:<port>/iserver/services/{dataProvider}/rest/data/datasources/{dataSourceName}
SuperMap REST Image Service address: http:// <server>:<port>/iserver/services/imageservice-HaiNan/restjsr/collections/{collectionid}
OGC WMS Services address, such as: http(s)://<server>:<port>/iserver/services/{MapName}/wms111/China
http(s)://<server>:<port>/iserver/services/{MapName}/wms130/China
Note: If you add a WMS Service from other platforms, the address must be able to correctly obtain the Capabilities document of the service.
OGC WMTS Services address, such as: http(s)://<server>:<port>/iserver/services/{MapName}/wmts100
https:// <server>:<port>/iserver/services/map-world/wmts-china
Note: If you add a WMTS Service from other platforms, ess must be able to correctly obtain the Capabilities document of the service, such as http(s)://<server>:<port>/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetCapabilities。
Select the layer and in the right function panel, click 'attribute 'Tab >'Base dataset' drop-down list and select a dataset, the dataset in current layer will be replaced with he dataset you select. Different types of layers can be replaced with the corresponding type of datasets. Now, structured data and REST data support the replacement of datasets.