Some experiences of supermap development WebGIS

xiaoxiao2021-03-06  15

As a GIS development platform, the SuperMap series is in line with Chinese habits. It is also convenient to operate. It is a bit depressed, and some experience will be written down.

Some words of the supermap deskpro medium map:

Workspace: Workspace, actually a centralized map data set, and on this basis, map production, map analysis environment. In IS.NET, configuring a mapserver is actually corresponding to a workspace. And because of the current SUPERMAP to SUPERMAP does not support MapServer switching, it is best to sit in a working space in the case of a multi-map to facilitate the switching of the map.

Map data set: 1. Important is some conversion problems because we are generally purchasing map data sets. There may be a coordinate system in the integration of the map. At this time, if coordinate registration is performed, you need to know the original coordinate system and target coordinate system. This can be converted in the properties of the map data set. 2. The data set also has the problem of attribute data, which is a map of your own contact with geographic information. These attribute data have a very important role in the map query, and simple data can be added in this data table, setting QueryParam- "Querylayer ReturnValue to the corresponding data in the is.net.

Map: The map itself is not difficult, it is difficult to make a beautiful professional map based on the data set, which is mainly implemented by style settings and topic. In style settings, pay attention to the color matching of the point, thickness, text match, maximum minimum scale, etc. It is recommended to set up a multi-reference in professional electronic map.

Other useful winter and winter:

1. Map cutting, sometimes we only need some of the current map, you can use the map cutting, select the cropped layer, store the location of the new data set, new map name, you can get your cropped map.

2. Regarding SMW and SXW, the workspace can store the file as the SMW and SXW files, and SXW can be opened directly with Word board. You can see the code that follows the XML standard, you can add anything in the visual environment, you can See the organizational structure of this workplace. This is very convenient in the map of multiple workspaces into a work space, you only need to correspond to ....... are copied, set the location name of the data set, and the SMW file is saved, and the symbol library is possible. This will save a lot of hard work. This is very useful in the case where SuperMap is.net does not support multiple MapServer.

Some experience in supermap is.net

Personally feel simple WebGIS's basic operation, based on the map's query positioning, query the properties of the map on the map (including query related information in the database), the production and interaction of the topic.

Map Basic Operation SuperMap provides very good control support. The key to the query is how to get geographic information. This can be implemented by the QueryParam class, by setting QueryParam Querylayer query layers, returnfields return fields, whereclause query conditions are implemented. The result of the query is a RESULTSET, which is a RECORDSET collection that can get attribute data. You need to overwrite the trigger event mappcontrol_mapQuerying, MapControl_mapQueryCompleted, and the Query Return ResultSet is set separately. When the property checks, you only need to set QueryParam in the trigger event, query it through the MapControl QueryBysql. Dynamic generating maps need to be implemented through the THEME *** of the Layer class, such as themegraph (statistical map), ThemeLabel, ThemeUnique (single value map), ThemeRange (Schedule map), etc.

转载请注明原文地址:https://www.9cbs.com/read-45691.html

New Post(0)