After choosing base map, in the "layer" tab, you can add layer according to the specific demand, such as: adding by files, adding by search, adding by Web, in addition you can also add marker layer, and then directly draw and add Marker.
Adding by files
In the "add layer" tab, selecting the "Adding by files", you can add some elements to the map by uploading files. Currently supporting uploading delimited text file in csv format (UTF-8 code or GBK code) and excel files (*. xlsx or *. xls), the uploaded files needs to consist of a data column representing geographic coordinate. The specific steps are as follows:
- In the "add layer" tab, selecting the "Adding by files", you can select the coded format of being uploaded files, currently supporting UTF-8 code or GBK code
- Clicking on the "select file" button, finding the required uploaded files in computer
- After selecting the file, double clicking the file or clicking on the "open" button, it will display the file's name and attribute table, the file's name is the name of added vector layers, you can modify the name. The vector layer name is not allowed to repeat by default.
- If the fields in an attribute table appear to be garbled, you can try to modify the file coded format
- Clicking an attribute data to modify, when users move the mouse to a label of a line, it will display the delete button, clicking the delete button to delete the attribute data of the line
- Clicking "next", the system will automatically identify the latitude and longitude columns, you can also manually specify columns where the latitude and longitude locate
- Finally clicking on the "ok" button, and upload files to the map to add some elements, for the data entry which is not in conformity with the provisions, the system will automatically filter it out
After the success of uploading files, you can view the attribute data of the individual element, you can also view the attribute table information The added point element layer in the uploaded file displays a basic style (basic thematic map) by default, of course, you can also make single value thematic map, subtopic thematic map and heat map.
Querying attribute table
Adding the vector element layer by uploading files, supporting viewing the attribute table information of the layer . Clicking on the "" button at the right of vector layer name, in the drop-down box, selecting the attribute table, it will pop up the layer's attribute table information, you can operate on the attribute table as follows:
- Search: In the search box at the top right-hand corner of the attribute table, entering the key characters of the fields to query.
- Sorting: Each column of attribute table, supporting sorting in ascending or descending sort
- Cooperating: Supporting attribute of checking maps, the mouse clicks on a row of the attribute table, and it will display the location of the elements point on the maps and the attribute information of the elements point.
- Displaying elements number: In the top left of the attribute table, it will display the number of elements added in the layer
Showing and hiding the attribute table fields
Clicking on the "" button at the right of vector layer name, in the drop-down box, selecting the "layer attribute", in the pop-up layer attribute dialog box, clicking on the icon on the back of the attribute field, users can control the attribute fields to show and hide in the attribute table or attribute information of a single element. For example, you don't want to display the latitude and longitude coordinates fields in the attribute table, you can hide the two fields in the layer attribute dialog box.
Uploading file supporting dynamic projection
If the uploaded vector source file projection is not in conformity with the target base map projection, it will automatically project and transform, and stack correctly after transforming into a consistent projection with the base map. At present, the file source projection supporting the dynamic projection includes: EPSG Code: 4326, EPSG Code: 3857 and Baidu coordinates, it can stack correctly with any target base map projection includes: EPSG Code: 4326, EPSG Code: 3857, Baidu coordinate and Google coordinates. Introduction about EPSG Code please see: EPSG Code supported by SuperMap.
Adding by search
In the "layer" tab, selecting the "adding by search", you can open "adding by search" dialog box. You can either add the map service released by uploading data yourself, or you can choose the existing map drawing in the portal as layer by searching.
Adding the service I publish
The service I publish refers to the service released by uploading data, about how to publish services please refer to: upload data and publish service. In the "adding by search" tab, clicking on the "service I publish" button, it will list the available map services, namely: RESTMAP type of service, if you haven't released any map service, you can go to the my data page to upload data and publish service.
Adding map resources by search
In the "adding by search" tab, clicking on the "map resources" button, you can choose the existing map drawing in the portal as added layer by searching, it supports projection automatically matching and filtering, and the map which does not match the current base map projection can be automatically filtered out, which ensures that all the displaying maps can directly stack with the current base maps.
Adding by Web
In the "Adding by Web" tab, you need to choose service type, set service address.
At present, it supports adding iServer's REST map service, data service, temporal-spatio data service, OGC standard's WMS and the WMTS services:
- Support adding iServer's REST map service with Token, when adding, users need to check "have a Token" option, then input service address and Token.
- Support setting the request modes of WMTS service type as: HTTP KVP(Key-Value Pair) and RESTful two modes, the default request is in KVP mode. For example: Added access mode supported by WMTS service is RESTful, so users need to set the request mode as RESTful. About the access mode supported by WMTS service please refer to: WMTS1.0.0.
- Support making thematic map for added vector layer
Example: Adding SuperMap REST temporal-spatio data services
- Selecting the "adding by Web" tab, data sources selecting “SuperMap REST Data Service”
- Entering a valid service address, its format is:http://<server>:<port>/iserver/services/{data-provider}/rest/data/datasources/{DataSourceName} orhttp://<server>:<port>/iserver/services/{data-provider}/rest/data/datasources/{DataSourceName}/datasets/{DataSetName}, for example: http://192.168.120.40:8090/iserver/services/data-DynamicData/rest/data/datasources/DynamicData/datasets/Point
- If users input the above data service address into the level of data set, and it contains the time data, users can choose to open the timeline, check the "open time axis", select "time field", "time scope", "layer type", click on the "add" button.
After adding temporal-spatio data services, you can edit layer style, for details please refer to: modify layer style
Adding maker layer
Clicking the "adding maker layer" tab, selecting the"add maker layer", and users can create a new maker layer.
- Support drawing point, line, surface elements
- Clicking the icon, and users can control maker layer to show and hide.
- Support editing the style of the drawn point, line, surface, for details please refer to:modify layer style
- Support fast exporting all the elements of the drawn maker layer as GeoJSON file or CSV file
The basic operations of a layer
Clicking the "layer" tab, it will display all layers of current map, clicking the icon at the back of layer name, you can selectively operate on different layer styles as follows:
- Top: Changing the layer stacking sequence, on the top
- Bottom: Changing the layer stacking sequence, on the bottom
- Rename: Renaming the layer
- Transparency: Adjusting the layer transparency
- Full map display: Scaling the full map display of the current layer
- Attribute table: Viewing the attribute table information of added point elements layer by uploading files
- Layer attribute: Controlling the attribute fields to show and hide in the attribute table or attribute information of a single element.
- Layer style: Supporting editing the style of the drawn point, line, surface, for details please refer to: modify layer style
- Export: Users can fast export all the elements of the added vector layer (including added point element layer, added iServer REST data service, drawn maker layer of uploaded files) as GeoJSON file, users can still fast export the point element of the added vector layer as CSV file.
- Delete: Deleting the layer
In addition, it also supports measuring the map, clicking the measuring icon on the right side of the map window, users can operate as follows:
- Measure distance: Supporting measuring linear distance between multi points on the map. Selecting the "measure distance" button, clicking mouse at the specific location on the map, and then draging the mouse, clicking the mouse, producing a point on the map, and finally ending with a double clicking on the left mouse button. Map will display the length between two points and the total length of the beginning to the end point. Units: km. Clicking on the "remove" button, users can remove all the measurement results.
- Measuring area: Supporting measuring the area of arbitrary polygons on the map. Selecting the "measure area" button, click mouse at the specific location on the map, and then draging the mouse, clicking the mouse, producing a point on the map, more than three points will be selected as a surface, and finally ending with a double clicking on the left mouse button. Map will display the total area of the drawn surface. Units: square kilometers. Click on the "remove" button, users can remove all the measurement results.