Add layers |
After selecting the basemap, in the "Layer" tab, you can add layers according to your specific needs, such as: add from files, add from search, add from web, you can also create a mark layer, and then draw marks.
You can add data to the map by uploading a file. Currently, it supports uploading of delimited text files (*.csv), Excel files (*.xlsx or *.xls), GeoJSON files (*.geojson, *.json), and Shapefile data compressed into zip packages. The uploaded files must be UTF-8 encoded, and the CSV format files also support GBK encoding.
The selected file format is *.xlsx, *.xls, *.csv, and the following parameters can be specified:
Type: Location type. Including By coordinates, By administrative divisions, By city & addresses, and By coding. By coordinates is preferre
File CRS: Enter when location "Type" is "By Coordinates". Input the coordinate system of the data file to be added. It supports latitude-longitude coordinate system (EpsgCode:4326), Mercator coordinate system (EpsgCode:3857) and the coordinate system consistent with the current basemap.
X/Y Field: Enter when location "Type" is By coordinates. Specify the X and Y coordinate fields, and you can preview the data content through the data table below to help you enter the coordinate fields more accurately
Category: Enter when location "Type" is "By administrative division". Support for provinces and cities
Field: Enter when location "Type" is "By administrative division". Specify the field representing the administrative division, and preview the data content through the data table below to help you enter the field more accurately
File Encode: Supports UTF-8 and GBK encoded files, and needs to be set when the format of the file to be added is *.csv
City: Enter when location "Type" is "By address". Specifies the field in the data that represents the city.
Address: Enter when location "Type" is "By address". Specifies the field in the data that represents the description of the address.
Field 1/2: Enter when location "Type" is "By coding". Specifies a set of fields in the file to be added for association.
Associate Table: Enter when location "Type" is "By coding". Specifies the table used to associate the data files to be added, and currently supports the data services that have been added to the current map.
Associate Field 1/2: Enter when location "Type" is "By coding". Specify a set of fields for association in the association table. Associate Field 1 corresponds to and associates with Field 1, and Associate Field 2 corresponds to and associates with Field 2.
When adding GeoJSON data, Shapefile data compressed into a zip package, the following parameters can be specified:
Create layer: Create as a label layer, you can modify the spatial position and attribute information of elements in the layer, add point, line, area, and text elements; create as a thematic layer, you can modify the visual style. For details, see the production sheet Value thematic maps, segmented thematic maps, etc. See Modify layer style.
File CRS: It needs to be set when the file format is GeoJSON. Enter the coordinate system of the data file to be added. It supports the latitude-longitude coordinate system (EpsgCode: 4326), the Mercator coordinate system (EpsgCode: 3857) and the coordinate system consistent with the current basemap.
File Encode: Supports UTF-8 and GBK encoded files, and needs to set when adding Shapfile
Finally, click the "Add" button to upload the file and add to the map. Data items that do not meet the requirements will be automatically filtered out.
Note: DataViz supports geographic coordinate conversion. If the coordinate system of the uploaded data file is inconsistent with the coordinate system of the target basemap, the coordinate system of the data will be automatically converted so that the data can be correctly displayed on the map. Currently, the file source projections that support dynamic projection include: EPSG Code: 4326, EPSG Code: 3857. For the introduction of EPSG Code, please refer to: EPSG Code supported by SuperMap.
You can add Map services and Data services available in the portal, including services that are uploaded and published in the portal, or registered. After adding the REST data service, you can thematic maps thematic maps.
In the "Add From Search" tab, a list of REST Map services and Data services in the portal will be displayed. You can check the services that need to be added in batches, or add them one by one. Clicking on a service will display a list of datasets contained in the service. Click the service name in the "Select dataset" tab to preview it.
In the "Add From Web" tab, you need to select the service type and input the service address.
Support to add iServer REST Map services, Data services, Datflow services, OGC WMS and WMTS, online GeoJSON data:
Select the "Add From Web" tab, select the type "SuperMap REST Data Service"
For example: https://iserver.supermap.io/iserver/services/data-world/rest/data/datasources/World/datasets/capital
After the data service is added, you can edit the style of the layer, please see: Modify layer style.
Click the "Add Layer" tab and select "Add Marker Layer" to create a new mark layer.
Supports adding points, lines, surfaces, circles, ellipses, rectangles, hexagons, text, and Bezier curves. The specific adding process is as follows:
Select the type of marker layer you need to add, and move the mouse to the map to start drawing
After drawing, click the mark to edit in the edit pop-up window:
For text mark, you can set the font size, color, and text layout
For point, line, and polygon, you can add some information for each mark, such as title, description, picture, video link, web link, etc. You can also set the style of the mark. For details, see: Modify layer style.
After adding layers, you can modify the style of the layer, and proceed to the next step as needed. For details, see: Layer settings, Map settings, Controls usage, Attribute table query and editing, Output results.