Advanced Options For Label Thematic Map

The Advanced option in the thematic map panel is mainly used to control the display of labels in the current label thematic map.

Label Alongline

The parameters in the label alongline area are used to control the display effects of labels in line label thematic maps. The parameter descriptions are as follows:

  • Fixed text angle: If this check box is selected, the text in the label objects of the label thematic map always remains vertical.
  • Remove duplicate labels: After selecting this check box, the complex line object will be preprocessed, and multiple connected objects with the same name will be treated as one object for labeling. If not selected, these objects will be labeled separately.
    Figure: Remove duplicate labels not checked Figure: Remove duplicate labels checked
    Notes:
    • When generating vector tiles, the remove duplicate labels setting is invalid.
    • If the label expression uses a joined table's associated property field, the remove duplicate labels setting is invalid.
    • In a label thematic map, if the label expression uses a compound expression in a complex format (e.g., NAME [/] 'Length:' || SHAPE_Leng), the "label alongline" style is not supported.
  • Alongline mode: To achieve better display effects in different usage scenarios of label thematic maps, the application provides normal mode and river mode.
    • Normal mode: Suitable for labels of point and polygon data, such as place names and attribute value annotations.
    • River mode: Suitable for labeling river line data. In this mode, labels are evenly placed on the river, avoiding small river labels. The text direction is reasonable, and labels are not placed where the river is highly curved, ensuring uniform and aesthetically pleasing river labeling.

  • Alongline display direction: Used to set the direction of text along the line. The application provides five methods:
    • Along the normal of the line: Labels along the line direction from start point to end point.
    • Top to bottom, left to right: For vertical lines, labels display from top to bottom; for horizontal lines, labels display from left to right.
    • Top to bottom, right to left: For vertical lines, labels display from top to bottom; for horizontal lines, labels display from right to left.
    • Bottom to top, left to right: For vertical lines, labels display from bottom to top; for horizontal lines, labels display from left to right.
    • Bottom to top, right to left: For vertical lines, labels display from bottom to top; for horizontal lines, labels display from right to left.
    Notes:
    • When using this function, the line's orientation (horizontal or vertical) is automatically determined. The criterion: Connect the start and end points of the line. If the angle between the line and the horizontal direction is less than 60 degrees, the line is considered horizontal; otherwise, it is vertical.
    • If the Fixed Text Angle check box is selected, the setting of the drop-down button on the right side of the Alongline display direction control becomes invalid.
    • If the Alongline display direction is set and then the Fixed Text Angle check box is selected or the Alongline character spacing is modified, text overlapping may occur due to spacing issues, causing some labels not to display.
  • Alongline character spacing: Used to set the spacing distance between characters in the label text, in units of font height multiples. The value range is [1,8]. For English words and numbers, a space determines whether it is a word or a number. For example, "SuperMap" and "12325" represent one word and one number. If it is "SuperMap" and "123 25", it represents "SuperMap", "123", and "25" – two words and two numbers, which will be displayed at the specified spacing at the space positions.
  • Alongline character relative angle: Sets the maximum angle between adjacent characters or letters to ensure the aesthetics of labels along the line. The value range is [0,90]. The smaller the angle tolerance, the more compact the label, but high curvature areas may not be labeled. The larger the angle tolerance, the more curved areas can display labels, but the aesthetics of labels along the line may decrease. Therefore, for map aesthetics, it is recommended to first calculate an appropriate angle value when setting this parameter. The relative angle between characters or letters in labels along the line is shown in the following figure:

  • Interval unit: Used to set the unit of the label alongline interval value. Click the drop-down button on the right to select Unit or 0.1mm as the interval unit. 0.1mm indicates that the label interval uses 0.1mm as the unit; Unit means the label interval unit is consistent with the map coordinate system unit.
  • Alongline interval: When the line object is too long, it can be labeled at intervals. The text box on the right of this control sets the distance for repeated labeling. Note that the interval length set here is the distance from the end of the previous label text to the start of the next label text. As shown in the figure below, when labeling a railway segment, the alongline character spacing is 1 times, and the alongline interval is 100. The distance from the end of any label text to the start of the next label text is exactly one interval of 100, with the unit consistent with the map unit.

  • Drawing type: Sets the drawing strategy for alongline labeling, with five drawing methods:
    • Compatible draw: Starting from SuperMap GIS 8C(2017), the drawing strategy for alongline labeling has been adjusted. If the thematic map was created with a previous version and you want to display the original thematic style, it is recommended to select the "compatible draw" option.
    • Entire draw: Draw the label as a whole. Usually applied to labels along a line with a background.
    • Split draw: Draw the text and letters of the label separately. Using split draw, the label will conform to the trend of the labeled line.
    • Entire draw (for right-to-left reading text): Draw the label as a whole from right to left, suitable for right-to-left reading text, such as Arabic. When using this drawing method, set the label font to a western font, such as Times New Roman, and set the Alongline display direction to Along the normal of the line. Otherwise, the display effect may be incorrect.
    • Split draw (for right-to-left reading text): Split the text in the label, suitable for right-to-left reading text, such as Arabic. When using this drawing method, set the label font to a western font, such as Times New Roman, and set the Alongline display direction to Along the normal of the line. Otherwise, the display effect may be incorrect.

  • Show overlapping objects: Select this check box to show overlapping label objects, enhancing map readability.
  • Display overlong label: Controls the display of labels whose length exceeds the line length. Select this check box to display labels whose length does not exceed a specified multiple of the line length, which defaults to 2 times the line object length. If not selected, the maximum display length of the label is the line object length. For example, if a river line dataset contains many line objects with long names but short lengths, these labels will not be displayed when creating a label thematic map if this option is not selected.
  • Preprocess complex line: Select this check box, as shown below, to display labels at positions with high curvature and to display labels whose document length is longer than the labeled line segment.

  • Adapt label position: Select this check box, and the application can automatically select a suitable position on the object for labeling, avoiding the situation where all labels are displayed at the center of the object, causing overlapping.

  • The text order is consistent with the line direction: Specifies that the display order of the label text is consistent with the direction of the line object.

Label Length Settings

Warning:

If the Label Alongline function is enabled, only single-line display of text characters is supported, and other settings are invalid.

  • Overlength Processing Method: Used to set the display method for overlength text labels. The system provides four processing methods: Single Line Display, New Line (Hide the Newline Character), New Line (Show the Newline Character), and Omit. Currently, composite Label Thematic Maps only support the Single Line Display and Omit processing methods and do not yet support line break processing methods.
    Processing Method Description Illustration
    Single Line Display All text is displayed in a single line.
    New Line (Hide the Newline Character)
    • If a Specified Newline Character is set, line breaks occur at that character, but it is not displayed.
    • If no newline character is set, line breaks occur based on the Maximum Text per Line.

    As shown in the right figure, the newline character is set to "-", and it is not displayed during line breaks.

    New Line Display (Show the Newline Character)
    • If a Specified Newline Character is set, line breaks occur at that character, and it is displayed at the end of each line.
    • If no newline character is set, line breaks occur based on the Maximum Text per Line.

    As shown in the right figure, the newline character is set to "-", and it is displayed at the end of each line during line breaks.

    Omit When the number of text characters exceeds the Maximum Text per Line, an ellipsis "..." is used for display instead.
  • Specified Newline Character: When the Overlength Processing Method is set to New Line (Hide the Newline Character) or New Line (Show the Newline Character), line breaks are displayed based on the specified character. You can select a newline character from the dropdown menu on the right or directly type a character as the newline character.
  • Maximum Text per Line: When the Overlength Processing Method is set to New Line (Hide the Newline Character) or New Line (Show the Newline Character), and the Specified Newline Character is empty, this parameter controls the maximum display count per line of text (each English letter, Chinese character, or space counts as one character). When the text exceeds this limit, line breaks or omission will occur based on the settings. Additionally, the Adaptive checkbox on the right controls whether line breaks strictly follow this character count.
    • Select the Adaptive checkbox: Automatically adjusts line break positions to balance the length of each line of text without exceeding the maximum text count.
    • Do not select the Adaptive checkbox: Line breaks occur at the maximum text count, and English words are kept intact.
  • Label Position: Used to set the label position for polygon objects, supporting Horizontal Label and Straight Label.

  • Text Alignment: When the Overlength Processing Method is set to New Line (Hide the Newline Character) or New Line (Show the Newline Character), sets the text alignment. Supported alignments include: Center, Align Left, Align Right, and Distributed Alignment.
  • Multiple Lines Align Automatically After Avoiding: When the Overlength Processing Method is set to New Line (Hide the Newline Character) or New Line (Show the Newline Character), and this checkbox is selected, the text will be aligned according to the No Overlap rule.
  • In-region Labels: If selected, labels are only displayed within the polygon area.

Repeat Dimension Removal Settings

The repeat dimension removal settings are used to set the retention rule and tile range for labels with the same name within the same label layer in the current map visible range. The system provides different deduplication strategies based on the object type corresponding to the label thematic map.

  • All retained: Retain all labels with the same name without processing duplicate labels. This is the default option.
  • Keep the first: Based on the object order, only keep the first drawn label with the same name; other duplicate labels are not displayed.
  • Buffer deduplication: Remove duplicate labels based on the horizontal and vertical buffer distances of duplicate labels, preferentially retaining the first drawn label.
  • Keep the largest object: For labels with the same name, only retain the label of the longest line object or the largest polygon object; other duplicate labels are not displayed.
  • Maximum object retained within buffer distance: Based on buffer deduplication, when the tile ranges of multiple labels with the same name intersect, regardless of the drawing order, retain the label of the longest line object or the largest polygon object.

When the deduplication strategy is set to Buffer deduplication or Maximum object retained within buffer distance, the buffer distance can be set. When switching to other strategies, these two parameters are not available. If a buffer distance has been set previously, switching back to these two strategies will retain the last set distance value.

  • Buffer distance (X): According to the set horizontal buffer distance, duplicate labels within the horizontal tile range are filtered and not displayed. Two distance units are provided: 0.1mm and map unit, which can be switched via the drop-down button after the input box.
  • Buffer distance (Y): According to the set vertical buffer distance, duplicate labels within the vertical tile range are filtered and not displayed. Two distance units are provided: 0.1mm and map unit, which can be switched via the drop-down button after the input box.
Notes:
  • Point and multi-point label thematic maps only support All retained, Keep the first, and Buffer deduplication strategies.
  • When generating vector tiles, the repeat dimension removal settings are invalid.
  • If the label expression uses a joined table's associated property field, the repeat dimension removal settings are invalid.
  • Buffer distance units in Repeat Dimension Removal Settings are linked with the Offset Settings in the Properties tab and the Offset Y unit in the alignment settings in the Style tab of single symbol label thematic maps. When the unit changes in any location, the units in the other two locations will change accordingly.

Label Height Range

  • Maximum text height: When zooming in, if the height of the text font in the label object exceeds the maximum value set here, the text height in the label object will no longer increase as the map zooms in.
  • Minimum text height: When zooming out, if the height of the text font in the label object exceeds the minimum value set here, the text height in the label object will no longer decrease as the map zooms out.

Avoid Overlap Settings

  • Horizontal: According to the set tile range, text within the horizontal tile range is filtered and not displayed. The avoid overlap settings are consistent with the offset unit in the "Properties" tab. If the offset unit is "in 0.1mm", the buffer radius for text avoidance is in 0.1mm; if it is "consistent with the map distance unit", the unit of the set avoid overlap settings is consistent with the map unit.
  • Vertical: According to the set tile range, text within the vertical tile range is filtered and not displayed. The avoid overlap settings are consistent with the offset unit in the "Properties" tab. If the offset unit is "in 0.1mm", the buffer radius for text avoidance is in 0.1mm; if it is "consistent with the map distance unit", the unit of the set avoid overlap settings is consistent with the map unit.

Related Topics

"Properties" Tab

"Style" Tab