The Attribute tab page of the Thematic Label Map "window is mainly used to set the Display Parameter of the label object (Text) in the current Thematic Label Map. It should be noted that Uniform Label Thematic Map, Ranges Label Thematic Map, and Composite Label Thematic Map are the same as the Parameter Settings on the Properties tab of the Custom StyleThematic Label Map.
- Label expression
Lets you specify the Thematic variable used by the current Thematic Label Map, which determines the Text Content of the label object displayed on the Thematic Label Map. Thematic variable can be a single Property Field or a mathematical expression of a field.
- The drop-down list of the
- combo box lists the names of all the Property Fields used to make the Vector Dataset of the current Thematic Label Map. The user can select any field to change the Thematic variable used by the current Thematic Label Map, and can also enter a field name in the combo box, but the field must exist in the drop-down list of the combo box. The current Thematic Label Map re-dimensions the objects in the layer with the new Thematic variable.
- If the user wants to use the mathematical expression of the Property Field as the Thematic variable of the Thematic Label Map, the "Expression.." Item "in the drop-down list of the combo box is selected. Build the mathematical expression of the Property Field in the pop-up SQL Expression " dialog box. After the field expression is created, The current Thematic Label Map re-dimensions the objects in the layer with the new Thematic variable.
- If You want to display multiple fields by using connectors, select the Expression.. "Item in the drop-down list of the combo box, and build the expression of the Property Field in the SQL Expression" dialog box that pops up. The current Thematic Label Map re-dimensions the objects in the layer with the new Thematic variable. For details of field expressions, see the Thematic Label Map dimension expression description .
Note:
- If the field expression is displayed by connecting multiple fields through SQL Expression, and the expression field participating in the connection has a text type field, when the text type field value is null, the set thematic map label will be regarded as an invalid label and cannot be displayed normally. Because SQL Expression does not support null operations. As shown in the following figure, the two connected fields are Name (text field) and GDP _ 2000. Because the Name field value of object 2 is null, the label of the object is not displayed normally, as shown in Figure 1.
- When the above text field is null and the label cannot be displayed normally, it is recommended that the user first judge whether the field value is null when constructing the SQL Expression. If it is null, an empty string is returned and the label can be displayed normally. For example, in the MySQL database, the ifnull function is used to judge the null value: ifnull (Name, "") | | GDP _ 2000. If the Name is not null, the ifnull function returns the Name; Otherwise, return the result of the "" string. The Thematic Label Map as shown in fig. 2 is obtained. Different databases have different functions to judge whether the field value is empty. Please enter the correct judgment function according to the specific situation of the database.
- When the data of Oracle Plus and SQL Plus engine types are Create Thematic Map, the field expression can only be the field value or field expression, such as (SmID) or (SmID + 1). The By Conditions expression is not currently supported to set the way the thematic map fields are set. If the set field expression is a conditional expression, such as "SmID > 100", the thematic map will fail.
- Labels are enumeration information.
It is required that the selected field of Label expression has been set with value domain, and the steps of Domain Settings are as follows:
Right click Dataset-> Property, pop up the Property page on the right-> Value Domain tab to set the Domain Infor of the field.
Whether to check the Labels are enumeration information. " label Display Effects is shown in the following figure:
- "Background Settings" Area "
Use to add a background of the specified shape and style to the label object (Text) in the Thematic Label Map. This background is the background of the Text, which is different from the background of the text in the Text.
Background shape: It is used to control the background shape of Text. You can add background to Text by selecting items in the drop-down list of the combo box. The main forms of background shape are:
- Default: Text in Thematic Label Map does not have any Background shape decoration.
- Rectangle, Rounded Rectangle, Ellipse, Rhombus, Triangle: Use one of these five shapes, the corresponding figure will be used as the Background shape of Text in the Thematic Label Map, and the "Settings" button of the background style below will become available. Used to set the background style for text in the Thematic Label Map.
- Dot: Text in the Thematic Label Map uses a dot as a background for Text in the Thematic Label Map.
Background Style: It is used to control the style of the TextBackground shape. Click the "Set" button on the right to set the background style of the text in the Thematic Label Map. When the Background shape is rectangle, Rounded Rectangle, ellipse, rhombus or triangle, the Populate Symbol Style Settings dialog box will pop up ; When the Background shape is a point symbol, the Point Symbol Style Settings (map and layout) dialog box pops up .
Background margin: It is used to set the distance between the text and the background border of the label. You can directly enter the value in the value box, and the unit is pixel. Note: The background margin can be set only when the Background shape is set to Rectangle or Rounded Rectangle and the Background Style Settings is System 0 or System 1.
Background Shadow: When Background shape is set, the color, Offset X:, and Offset Y of the Background Shadow can be set.
- Color: Set the color of Background Shadow, which is gray by default (FF7F7F7F).
- Offset X: Set the horizontal offset of Background Shadow.
- Offset Y: Set the offset of Background Shadow in the vertical direction.
- Offset Settings Area
Lets you adjust and control the Display Effects of the label object (Text) in the Thematic Label Map.
- Offset unit: Used to set the unit of the offset value. Click the Drop-down Button on the right, and in the pop-up drop-down menu, the system provides two offset units of "Unit" and "0.1mm" for the user to select. "0.1mm" indicates that the offset of the symbol is in the unit of 0.1mm; "Unit" indicates that the offset set is consistent with the unit of the map coordinate system.
- Offset X: Used to set the offset X of the label relative to its representation. You can directly enter a numerical value to set the offset, or select a numerical field of the layer and use the field value as the offset.
- Offset Y: Used to set the offset Y of the label symbol relative to its representation. You can directly enter a numerical value to set the offset, or select a numerical field of the layer and use the field value as the offset.
Note: When the offset is set by means of Specify Field, it is only valid for point Thematic Label Map.
- Show Leader Line:
If the check box is checked, when the label is offset from the object it is labeling, the two can be connected by a pull line.
- Linear Style: Set the style of the pulling line, including straight line and polyline.
- Line Symbol: Sets the style of the line. Click this button to bring up the Style Settings window where you can set the style of the line. See: Line Symbol Style Settings.
- Anchor point of the pull line: It is used to set the starting point position of the pull line, that is, in which direction of the object. It provides eight directions: upper middle, upper right, middle left, middle, middle right, sitting down, lower middle and lower right.
- "Effect Settings" Area "
Lets you adjust and control the Display Effects of the label object (Text) in the Thematic Label Map.
- Flow: If this check box is checked, the rendering style of the thematic map can be Flow Display, that is, the label will move with the change of Map to achieve the optimized effect of Show All. When the Flow effect is enabled, do not use the Partly Refresh function, otherwise the Partly Refresh effect will be displayed incorrectly (iDesktopX does not support the Partly Refresh function). Note: The Flow function is not supported when the point layer creates a Thematic Label Map.
- Superscript/Subs cript: Select this check box to implement superscript and subscript Display Effects according to the rules set in Label expression. When using superscripts and subscripts, you need to pay attention to the following issues:
- Parameter Settings such as Label Alongline, Rotation angle, and New Line Display are not supported for
- the superscript and subscript functions. Label expression with Separator is not supported
- by superscript and subscript function. Font Effects such
- as strikethrough and underline do not support superscript and subscript functions.
For more information about Super Script/Subscript, see the Super Script/Subscript page.
- Show Slivers: Select this check box to display the labels corresponding to small objects in the Thematic Label Map. Otherwise, the labels corresponding to some small objects will be ignored according to the size of the According to the scale. That is, the labels of small objects are not displayed.
- Landscape Display Tags: Select the check box to display the tags vertically. Note: If the "Label Alongline" "check box is checked or the" Rotation angle "" of the font is set, the "Setting" Landscape Display Tags "will not take effect.
- Label Alwasy Top: Select the check box to display the label on top. When Layer Group is used, the label layer in the group may be covered by other Normal layers (such as surface layers) in the upper Layer Group. In order to keep the Layer Group status and keep the label from being covered, you can check this attribute. If more than one label layer has this property set, the Display Order between labels will be determined by the layer order.
- Label Mask: Select the check box to remove the line or face object range covered by the label to make the label clearer, which is suitable for the Thematic Label Map of contour lines.
- No Overlap: Select this check box to automatically adjust the label objects in the map within a certain range, so that the labels can be displayed at the same time without overlapping and affecting each other.
- Text Avoid of Two Directions: The label in the map can be adjusted in several directions around its annotation object. The alignment relationship of the object is shown in the following figure. For example, if the Alignment of the Thematic Label Map layer is set to the upper left corner, the No Overlap function will calculate whether capping will occur at the symmetry point (upper right corner) if capping occurs. That is, whether the upper right corner point of the Bounds of the label text will be covered when it is aligned with the trace point of the marked object. If it is not covered, the Alignment will be used as the result of avoidance.
- Avoid at Four Directions: The label in the map can be adjusted according to a certain order (lower left, upper left, lower right and lower left) in the four directions of the external matrix of its annotation object, and the Alignment that will not be covered can be selected. Finally, the labels are displayed at the same time without overlapping and affecting each other.
- Avoid at Eight Directions: The label in the map can be adjusted in a certain order (lower left, middle left, upper left, middle upper, middle lower, lower right, middle right, and upper right) in the eight directions of the external matrix of the annotation object, and the Alignment that will not be covered can be selected. Finally, the labels are displayed at the same time without overlapping and affecting each other.
- Avoid Surround Text: The label in the map can be adjusted in the surrounding direction of the external matrix of its annotation object, and the direction that will not be covered can be selected for display.
- Numeric Text Precision: Used to set the precision of numeric text displayed on the label. Setting text precision takes effect only if the content in the Label expression is purely numeric. The system provides 9 kinds of precision from 0. 00000001 to 1. The default is no precision. You can select the required precision from the drop-down menu on the right side of the numerical text precision. For example, suppose the precision is 1, then an object with a field value of 178.5 is displayed as 179 in the Thematic Label Map; if it is the default value, that is, there is no precision, then the field value Direct Show of each object is displayed in the thematic map.
Caution:
- When any one of the Flow, No Overlap, and Show Leader Line check boxes is selected at the Thematic Label MapLayer Properties, it is not recommended to use the Partly Refresh "function. If the "Partly Refresh" "is enabled, the map edge label may be displayed incompletely.