Experience SuperMap development of WebGIS

SuperMap GIS products as a development platform, more in line with Chinese custom, the operation is also more convenient, make their own for some time, feeling a little depressed, may also wish to write down some experience.

Some words SuperMap DeskPro in cartography:

Workspace: WorkSpace, is actually focused on some maps the data set, and map production on the basis of the above, the environment map analysis. In IS.NET, configure a MapServer is actually corresponding to a workspace. And due to the current in the switch IS.NET in SuperMap MapServer is not yet supported, so the case of multiple maps of the best of them will sit in a workspace, in order to facilitate the switch map.

Map data sets: 1. Some important is the issue of conversion, because we usually buy map data set. There may be a problem in the map coordinates of integration, this time if coordinate registration, we need to know the original coordinate system and the target coordinate system. This property can be converted in the map dataset. 2. The problem of data collection as well as attribute data, which is linked to their own maps and geographic information data table. The query attribute data in the map will be very important role, simple data can be added to the data table, set QueryParam- "QueryLayer The ReturnValue can be removed in the corresponding data in IS.NET.

Map: The map itself is not difficult, the difficulty is based on a data set of professional make beautiful maps, this is mainly set by the style and thematic map settings to achieve. Style settings to be noted that points, lines and colors, line thickness, with text, like the maximum and minimum scale. Professional advice is multi-reference electronic map style setting.

Other useful Hasty:

1. Map crop, sometimes we just need a part of the current map, you can use the map clipping, cutting of selected layers to store new data set location, naming the new map, the map can get after you cut.

2. About smw and sxw, workspace files can be stored as a file smw and sxw, sxw can be used directly WordPad to open, you can see that there is compliance with the XML standard code, you can add anything visual environment inside, can see the organization structure of the workspace. This is very convenient in the focus map multiple workspaces to a workspace, you just corresponding <sml: Maps> <sml: Map> ......... </ sml: Map> </ sml: Maps> in a map copied, the name of a good position to set the data set, in SMW save the file, into the symbol library on it. This will save a lot of kung fu style configuration. In the current SuperMap IS.NET not support multiple MapServer, which is very helpful.

Some experience of SuperMap IS.NET

Personally feel that nothing less than the basic operation simple webGIS map, query Location Map-based query property on a map elements (including the connection to the database query information), production and interactive thematic maps.

Map SuperMap basic operation provides a very good control supports. The key query is how to get geographic information. This may QueryParam class, by setting the QueryLayer QueryParam query layer, ReturnFields return field, query WhereClause achieved. Query result is a ResultSet, is RecordSet collection, you can get the attribute data. When map search property need to rewrite the trigger event MapControl_MapQuerying, MapControl_MapQueryCompleted are set query conditions and treatment of the returned ResultSet. QueryParam only need to set the trigger event when the properties Chaturvedi, through the MapControl QueryBySQL to query.

Dynamically generating a thematic map require realization by Theme *** Layer class, such as ThemeGraph (thematic maps), ThemeLabel (label map), ThemeUnique (FIG unique values), ThemeRange (range ranges map) or the like.

Reproduced in: https: //www.cnblogs.com/TonyWu/archive/2005/10/15/255331.html

Guess you like

Origin blog.csdn.net/weixin_34208185/article/details/92875340