User Tools

Site Tools


label_style

Label Style

The Label Style is a powerful tool for displaying information on your map based on the data in your feature layer. Label Styles offer numerous settings to display information on your map.

Label Properties

Video Overview

Properties

Name - The name of the label style. Choosing a descriptive name can help you quickly identify styles when you are compositing many of them together.

Label Type - Sets the Label Style to be a basic label (display one column of data) or a custom label (display multiple columns with added text).

Column Name - Selects the column that will be used to display data on the map. If you are using a custom label, you can use the Insert button to place multiple columns of data into the label and add special characters of your choosing.

Font

Font - Sets the font type that you would like to use for your Label Style.

Font Size - Sets the size of the font for the Label Style.

Font Color - Sets the font color to be used for each label. The font color can be a color, gradient, hatch pattern or bitmapped texture.

Font Style - Sets the style of the font for the Label Style to be bold, italicized, strikeout, underline, and/or regular.

Advanced

Rotation Angle - Sets the rotation angle for the center point of each label style, from 0 to 360 degrees.

X Offset - Sets the X offset of this style. A positive X offset will draw the style that many pixels to the right of the actual feature. A negative X offset will draw the style that many pixels to the left of the actual feature.

Y Offset - Sets the Y offset of this style. A positive Y offset will draw the style that many pixels below the actual feature. A negative Y offset will draw the style that many pixels above the actual feature.

Drawing Level - Forces this style to draw on a specific drawing level. The GIS Editor has a set of internal drawing levels that can be used to set rendering priority for certain styles. For example, labels are set to use the highest drawing level by default, so that they always appear on top of other map features regardless of what layer they're on. This enables you to add styles to any layer without worrying about them being covered up by other layers above them.

Mask

Once enabled, the label will have a colored mask to act as a background for each label.

Fill - Sets the fill color of the mask. The fill can be a color, gradient, hatch pattern or bitmapped texture.

Outline - Set the outline color around the mask. The fill can be a color, gradient, hatch pattern or bitmapped texture.

Outline Thickness - Sets the thickness for the outline, in pixels.

Margin - Sets the border spacing between the font and outline of the label mask in pixels.

Placement & Formatting

Video Overview

Placement

Overlapping labels - The checkbox toggles whether or not to overlap labels, allowing you to see more or less labels depending on you zoom level and proximity to other labels.

Grid Size - Labels are placed on a set grid, spacing out the labels in set increments. You can decrease the grid size to get a higher density of labels on your map.

Additional Settings for Area Features

Polygon labeling location - Sets how the label will be placed. Bounding box center will place the label in the exact center of the polygon, as if there was a box surrounding the entire polygon. This option may cause some feature labels to be slightly outside of their feature areas. The Centroid option places the label in the area's center of mass and generally prevents labels from being placed outside of their feature area unless it is a particularly small area.

Additional Settings for Line Features

Force horizontal labels - If checked, the label will always display in a horizontal manner rather than following the angle of the line.

Spline Type - Sets how the label will follow the line style. None sets the angle of the line, but does not curve with the line. Standard Spline is default and will follow the angles of the line style. Forced Spline is a more strict spline and is generally more useful for foreign characters such as Chinese, Japaneses, and Korean.

Additional Settings for Point Features

Automatic label placement - If checked, the editor will determine the best position for each point feature's label to be displayed on the map.

Label placement' - Sets the position of where the label for each point feature will begin, such as center right or lower left of the point feature.

Formatting

Date Format - If you are using a date for your labels, you can set the format of how the date is displayed.

Numeric Format - If you are using numbers, such as currency or percentages, for your labels, you can set the various formats of how those numbers are displayed.

Duplication & Clipping

Video Overview

Placement

Duplicate Rule - Sets labels to not duplicate, duplicate only once per quadrant of the map, or to duplicate as much as possible. This is useful for setting labels to appear more than once on a single road, for example.

Additional Settings for Area Features

Label each multipolygon - If checked, each polygon in a single feature will have a label on it.

Clipping

Suppress Partial Labels - If checked, this will hide a label if it cannot be fully displayed on the map.

Repositioning Labels - If checked, any label that is cut off from the edge of your map will try to be repositioned to fit inside the window.

Additional Settings for Area Features

Draw Labels Within Area Boundaries - If checked, a label will only display if its total length fits within your area feature.

Fitting Factor - Sets a leeway amount if labels are set to be drawn only within an area feature's boundary.

Additional Settings for Line Features

Segment Ratio - Similar to the Fitting Factor for Area Features, by setting this to a lower value, it hides labels that are longer than the line feature.

Icon

Video Overview

Icon Properties

Icon Image Path - This is where you put your path of the image that you wish to use for your icon.

Icon image Scale - Sets the scale of the image icon. A scale of one draws the icon at its original size.

Remove Icon - If you no longer want to have an icon for your label, you can use this button to remove it.

Fixing Incorrect Character Encoding

The character encoding of a layer determines how text appears in its column data, particularly characters from many Asian languages or certain European languages. Some data files do not contain any identifying information about the character encoding they use, which can result in garbled text being visible in the GIS Editor's View Data and Edit Data windows, in labels drawn on the map, and in other places. If you find numerous characters missing or replaced by nonsensical characters in your data, you can try changing the layer's encoding to see if that corrects the problem.

To change the encoding, first close the View Data window, then right-click the layer in the Layer List. When the context menu appears, choose “Properties”. The layer's encoding is selectable via a dropdown list near the bottom of the properties window.

The layer properties window for a typical Shapefile.

If you aren't sure which encoding to choose, here are some suggestions:

  • Unicode (UTF-8) is a common encoding that is in wide use today. OpenStreetMap data, for example, is stored with UTF-8 encoding.
  • Western European (Windows) is commonly used to encode primarily English-language layers.
  • Japanese (Shift-JIS) may be used to encode Japanese-language layers.

Below is an example of how characters might look in the GIS Editor with both an incorrect (left) and the correct encoding (right):

label_style.txt · Last modified: 2015/09/28 10:06 by admin