Vector TileMap Cartography Consideration

I. Content of layer data

II. Layer Properties Settings

3. Thematic maps

IV. Text Style

5. Point symbols

6. Line symbols

VII. Fill symbol

VIII. Map Properties Settings

IX. Vector Tile Generation Configuration

X. Vector Tile Update

This paper summarizes the SuperMap map styles and settings that SuperMap Vector Tile can support and does not support, defines clear capability boundaries, and assists users to make vector maps suitable for Vector Tile production.

SuperMap supports generating vector maps into Vector Tile (.mvt) conforming to the MapBox MVT specification. Tile Data contains the geometry and Attributes of features, and the style of features is described by the MapBox standard style file (style. JSON). And follow the style specification of MapBox GL version 8. For MapBox styles, see: https://www.mapbox.com/mapbox-gl-style-spec.

The Vector Tile generated by SuperMap will be displayed on the SuperMap iClient client based on the MapBox style file, and the client will render and display the Vector Tile using MapBox GL or Open Layers; Among them, OpenLayers supports the rendering and display of Vector Tile of various projections, while MapBox GL only supports the rendering and display of Vector Tile of EPSG3857 projection.

During Generate Vector Tile, the program needs to convert the map style of SuperMap into MapBox style description, but some map styles and settings of SuperMap are not supported by MapBox and cannot be converted into MapBox style description. Display Effects are inconsistent with the map after SuperMap map Generate Vector Tile, or some style and map setting effects are lost.

Map content, rendering styles, and related configuration Is Vector Tile supported Note description
I. Layer data content
Vector Dataset 2D Point, Line, Surface, Text Dataset Support Raster Data layers are not supported. If your map contains unsupported Dataset layers, the Generate Vector Tile ignores them.
If the Geometry contains too many sub-objects, the cutting speed will be affected when creating the Vector Tile. It is recommended to split the sub-objects to improve the cutting efficiency.
3D Point, Line, Surface, Text Dataset Support
Tsinghua Shanwei (EPS) Point, Line, Surface, Text Dataset Support
Other Dataset Not supported
Geometry complexity     For massive surface data, in order to improve the generation and display efficiency of Vector Tile, the data needs to be thinned. The user can set whether to apply thinning according to the actual data.
    For Other Datasource
  • except PostGISDatasource, the thinning is specified by the "Rarefy Display" "parameter in the Generate Vector Tile. If this item is checked, the thinning is performed; otherwise, the thinning is not performed.
  • For PostGISDatasource, you need to modify the SuperMap. XML file (located in the iDesktopX installation directory/BIn/) and add "< MVTS implifyPGIS > TRUE < /MVTS implifyPGIS "tab, the default value of the parameter value is TRUE, which indicates that the pipe is thinned, and FALSE, which indicates that the pipe is not thinned.
For face objects with dense nodes and complex shapes, under a small scale, after thinning, the resulting Vector Tile has face object deformation, for example:
    Under the
  • small scale surface river, after rarefaction, the object is obviously deformed. It is suggested that Map has reasonable complexity under different Display scales when mapping, and it is suggested that rivers should be represented by line objects under small scales.
  • After
  • tens of millions of Earth Polygon data are thinned, the map will be hollowed out due to the deformation of surface objects at a small scale. It is recommended to create Vector Pyramid for massive Earth Polygon data first, and then Generate Vector Tile.
Vector Data coordinate system     If the coordinate system of the data is different from the map Display Coordinates system, the system will convert the coordinate system of the data to the map Display Coordinates system during Generate Vector Tile. The operation of coordinate system conversion will take up a lot of disk space and time. It is recommended that the user first convert the coordinate system of the data to the map Display Coordinates system, and then Generate Vector Tile.
2. Layer Properties Settings
Layer Visible Scale Maximum and Minimum Visible Scale. Support Vector Tile is created with Global scale, and the visible scale range of the layer in the vector map needs to be adjusted according to the Global scale, otherwise, the display and hidden effects of the map elements of Vector Tile will be inconsistent with the map.
The layer visible scale values and Numerical Precision should be exactly the same as the Global scale.
The layer displays Filter Filter Expression Partially supported Only simple logical relationship judgment and comparison operations are supported.
  • Comparison operations support =, <, >,! = Only numeric values are supported for the values that participate in the comparison and judgment of expressions, and text or characters are not supported temporarily, that is, expressions such as "NAME = 'Sichuan Province'" are not supported.
  • Logical relationship judgment: support And, Or, Not
Table name cannot be added before Field in Filter Expression, that is, the expression with table name such as "China _ Province. Pop _ 2014 > 3833" is not supported.
Layer Join Attribute Table Settings   Not supported  
Normal Layer and Thematic Layer Aggregation    
  • In The same map, for the same point/line/regionDataset, at most one thematic map and one Thematic Label Map based on the point/line/regionDataset can exist at the same time. Otherwise, the effect will not meet the expectations.
  • In the same map, for the same Point Dataset, at most one Unique-values Map based on the Point Dataset and one Unique-values Thematic Label Map can coexist. And both single-value fields must use the same field.
Alternative: If a point/line/regionDataset needs to produce multiple thematic maps, you can use Layer Group to separate them, that is, create multiple Layer Groups. The same point/line/regionDataset is guaranteed in each Layer Group, and at most one thematic map and one Thematic Label Map based on the point/line/regionDataset are included; In the same Layer Group, for the same Point Dataset, at most one Unique-values Map and one single-value Thematic Label Map based on the Point Dataset can coexist, and the single-value fields of the two must use the same field.
The label and the corresponding Vector Layer need to be under the same Layer Group.
Layer Blend Mode   Not supported  
Scale Symbol   Not supported  
Weight   Not supported  
Thinning Show Settings   Not supported  
Filter overlapping small objects settings   Not supported  
Object Display Order   Not supported  
III. Thematic map
Unique-values Map Single value expression Partially supported Only single field is supported. Field expression and SQL function Calculate Result, such as name | | '_' | | type, are not supported.
Property Field Definition Marker Style Not supported Through properties Field Settings Symbol, Color, Size, Rotation angle are not supported.
Theme Layers Offset Settings Not supported  
Marker Style Partially supported For support, refer to the sections of Point symbol, Line symbol and Fill symbol.
Traffic Situation configuration Not supported  
Graudated Colors Map Segmentation expression Support Currently, only a single field is supported. Field expressions and the SQL function Calculate Result are not supported.
Segmentation method Support  
Segmentation accuracy Support  
Marker Style Partially supported For support, refer to the sections of Point symbol, Line symbol and Fill symbol.
Uniform Label Thematic Map Label expression Partially supported For the annotation field used by the Thematic Label Map, only a single field is currently supported, and the field expression and the SQL function Calculate Result, such as name | | '_' | | type, are not supported.
Label background Partially supported
  • Background shape: Rectangle, Rounded Rectangle and dot are supported; diamond, ellipse and triangle
  • are not supported
  • Background style: only Pure Filling is supported; Rounded Rectangle background supports the setting of filling edge, while rectangle is not supported.
  • Background margins: support for
  • Background Shadow effect: not supported
For the same Point Dataset, when the Point Normal Layer and the Thematic Label Map based on the layer exist at the same time, MapBox does not support setting both the point symbol and the label background; otherwise, the point symbol will be lost and the label will be retained, but the label background will deviate from the label text.
When the label background uses a dot symbol, the dot symbol does not automatically resize with the length of the label.
Label offset Support  
Pull line Not supported  
Labels and Alignment Partially supported Left Baseline, Right Baseline, and Central Baseline alignment are not supported.
Gland and Avoidance Settings (Flow, No Overlap) Not supported The avoidance processing of MapBox is different from that of SuperMap, which leads to differences in the number of labels displayed, labels and alignments, etc.
Typesetting (extra long text handling, line wrapping, multi-line text alignment, Landscape Display Tags) Not supported MapBox handles wrapping for long tags differently than SuperMap. Display Effects in the Tile are quite different from the map after the Generate Vector Tile when the settings for label wrapping and the settings for multi-line text typesetting are applied to the Thematic Label Map.
Text Avoidance Tile Range Not supported  
Label Height Range Not supported  
Text Style Settings Partially supported See the Text Style section for support
Show direction along the label line Partially supported The MapBox style only supports two display directions along the line (normal direction along the line and top to bottom, left to right). If the map has other display directions along the line, the Vector Tile will place the label with the direction of "top to bottom, left to right".
Show Slivers Not supported  
Signature spacing along the line Not supported MapBox handles Label Alongline differently than SuperMap, so Vector Tile displays Label Alongline differently than original map.
Relative angle along the line Not supported
Label along line mode Not supported
Fixed Text Angle Not supported
Remove Duplicate Labels Not supported
Periodic spacing along the line Not supported
Type of label drawing along the line (Split Draw, Entire Draw, Compatible Draw, etc.) Not supported
Single-valued Thematic Label Map. Single value field Partially supported Only single field is supported. Field expression and SQL function Calculate Result, such as name | | '_' | | type, are not supported.
For the same Point Dataset, if a Unique-values Map and a single-value Thematic Label Map based on the Point Dataset exist at the same time, the single-value fields of the two must use the same field.
Other Settings content Consistent with Uniform Label Thematic Map  
Custom Thematic Map   Not supported The map contains thematic maps that are not supported. These thematic layers will be ignored for Generate Vector Tile.
Composite Thematic Label Map.   Not supported
Matrix Thematic Label Map.   Not supported
Graduated Symbols Map   Not supported
Statistical Thematic Map   Not supported
Dot Density Map   Not supported
Aggregated graphs (thermodynamic, grid, etc.)   Not supported
IV. Text Style
Font   Support Make sure there is a corresponding Font File in the computer.
Text color   Support  
Font size   Support  
Font Effects Bold Support When bold and italic effects are used in the text, it is necessary to ensure that there are bold and italic font library files of the corresponding fonts in the computer, so that the bold and italic effects of the text in the generated Vector Tile are effective.
Italics Support
Outline Support  
Shadow Not supported  
Underline Not supported  
Strikethrough Not supported  
Rotation angle Support  
Tilt (left tilt, right tilt, tilt angle) Not supported  
Fixed Size Support When Generate Vector Tile, the text in the map needs to be set to Fixed Size, otherwise, the text effect displayed by Tile may be different from that of the original map.
Text background Not supported The text background appears as a text outline in the Vector Tile.
Superscript Not supported  
Text typesetting Multi-line TextAlignment, etc. Not supported  
V. Dot symbol
System point symbol System0 Not supported The System 0 square dot symbol appears as a dot symbol in the Vector Tile.
Bypass scheme: Create a new point symbol and draw a square Geometry to make a square point symbol.
System1 Support  
Vector dot symbol   Support  
Grid point symbol   Support  
Color   Support  
Symbol Rotation angle   Support  
Symbol transparency   Not supported  
Scale Symbol   Not supported  
VI. Line symbol
System linetype System0、System1 Support  
System2、System3、System4 Not supported System2, System3, System4 linetypes will appear as solid lines in the Vector Tile.
Alternative: Create a new linetype, add a dash (system linetype) subline, and adjust the Virtual-real Mode of the subline to make the required dashed linetype.
Custom linetype   Support Custom linetypes support linetype symbols that contain more than one child, but each child must be of type Default.
Subline style Short horizontal line (system line type) Support Virtual-real Mode is supported.
Other subline types Not supported Unsupported sublines appear as solid lines in the Vector Tile.
Sub-line settings End Symbol Not supported  
Subline offset Not supported  
Scale Symbol   Not supported  
VII. Fill symbol
System Fill symbol System0、System1、System2、System3、System4、System5、System6、System7 Support  
Fill symbol sideline   Consistent with the line notation The MapBox style supports the contour lines of face symbols in the same way as line symbols.
Custom Fill symbol   Support Custom Fill Symbol only supports a fill symbol that contains one fill sublayer. The fill sublayer can be Image Filling or the symbol Fill Symbol.
Fill symbol sublayer Symbol Filling Support  
Image Filling Support  
Scale Symbol   Not supported  
VIII. Map Properties Settings
Map Fixed Scale   Support Vector Tile is created with Global Scale, and the vector map Fixed Scale needs to be adjusted with reference to Global Scale; otherwise, the display and hidden effects of the map elements of Vector Tile will be inconsistent with the map.
The layer visible scale values and Numerical Precision should be exactly the same as the Global scale.
Map Overlap Settings   Not supported  
Fixed Symbol Angle   Not supported  
Fixed Text Angle   Not supported  
Fixed Text Direction   Not supported  
Line Antialiasing   Not supported  
Text Antialiasing   Not supported  
Label weight setting   Not supported  
IX. Vector Tile Generation Configuration
Slice scale Global scale Support  
Custom Scale Not supported  
Slice level range Continuous scale hierarchy Support  
Discontinuous scale hierarchy Support Scale bar levels are not continuous. Missing levels cause Display Effects to appear unexpectedly when the Vector Tile is displayed.
Storage Format Compact Support  
Original Support  
MongoDB Support  
Store the directory Local Directory Support  
Shared directory Not supported  
FTP directory Not supported  
Object storage directory Partially supported Only Vector Tiles that support the original Storage Format are stored in the object store.
Tile Bounds Whole Map Support Default slice range
Current Windows (Desktop) Support Not supported by GPA tool
Custom Bounds-Rectangular Range Support GPA tools are specified by Left, Top, Right, Bottom coordinate values
Custom Bounds-Specify Object (Desktop) Support Not supported by GPA tool
Custom Bounds-Custom Expression (Desktop) Not supported  
Origin of Tile Modify Origin of Tile. Not supported  
Vector Tile parameter Generate font cache file Support "Generate font cache file" needs to be enabled, otherwise, the text content in the resulting Vector Tile is abnormal.
Generate Vector Tile Support Generate Vector Tiles。
In the Vector Tile update scenario:
When Separate Data from Style, if the vector map data does not change, only the map style changes, and the style does not use new field content, there is no need to Generate Vector Tiles again when updating the Vector Tile. Just Generate Tiles Style again. In this case, this item may not be enabled.
Generate Tiles Style Support Generate vector tile style.
In the Vector Tile update scenario:
When Separate Data from Style, if the vector map only updates the data content and the map style does not change, when updating the Vector Tile, it is not necessary to Generate Tiles Style again, just Generate Vector Tile again. This item may not be enabled.
Separate Data from Style Support Enable "Separate Data from Style" to facilitate separate updates of Vector Tile data and style.
Add All Property Fields Support When the Vector Tile is generated, only the attribute Select Fields used by the map will be written into the Vector Tile data.
In general, it is not necessary to add all Property Fields, which affects slicing performance when the map data is large.
In the Vector Tile update scenario:
If the map data does not change, but the map style changes, and new fields are used to match the map, if the Tile is updated, it is not only to Generate Tiles Style again, but also to Generate Vector Tiles again, so that the new fields can be written into the Vector Tile data.
Rarefy Display Support For massive surface data, in order to improve the generation and display efficiency of Vector Tile, the data needs to be thinned. The user can set whether to apply thinning according to the actual data.
This setting is only valid for non-PostGISDatasource. If Rarefy Display "is enabled, it indicates that thinning is performed; otherwise, thinning is not performed.
For PostGISDatasource, you need to modify the SuperMap. XML file (located in the installation directory/BIn/of iDesktopX), add the label "< mvts implifypgis > TRUE ", and the default value of the parameter value is TRUE. Indicates rarefaction; FALSE indicates no rarefaction.
For face objects with dense nodes and complex shapes, under a small scale, after thinning, the resulting Vector Tile has face object deformation, for example:
    Under the
  • small scale surface river, after rarefaction, the object is obviously deformed. It is suggested that Map has reasonable complexity under different Display scales when mapping, and it is suggested that rivers should be represented by line objects under small scales.
  • After
  • tens of millions of Earth Polygon data are thinned, the map will be hollowed out due to the deformation of surface objects at a small scale. It is recommended to create Vector Pyramid for massive Earth Polygon data first, and then Generate Vector Tile.
Generate Index Support When generating a 3D Web MV TVector Tile, you need to check this option.
Vector Tile breakpoint continuous cut   Not supported  
X. Vector Tile Update
Vector Tile All Update Update/Append Tiles "in that iDesktopX" Generate Vector Tile "dialog. Support  
Vector TileLocal update Support  

Related topics

Generate Map Tiles