Navigation:  Map Viewer >

Feature Labeler

 

You can add and configure labels to a vector map layer by:

Right-clicking on the map layer and selecting Labeling > Label Setup

Clicking the Labels button [] in the map layers toolbar

 

Label Categories

The left pane of the Feature Labeler includes a list of label categories. A label category is a distinct set of labels for the map layer that can have its own label expression, basic/advanced style settings, and member definition. In this way you can define customized labels for the map layer, for example differing label styles and values based on whether a sample exceeds a water quality standard.

You can add or remove a label category. Label categories can be reordered by selecting a layer and using the and buttons.

 

Expression

The Expression tab provides an interface that helps you define the label values for the current label category.

Expression: the input form to define the label based on field attributes
 

Field Names: provides a list of fields in the attribute table. Clicking a field name will select it. Double-clicking a field name will add it to the statement input.
 

New Line button: adds a line break to the label expression
 

Validate button: allows you to test the input statement and will return an example the statement is valid and an error if not.

 

 

Please Note: field names that include a space are not supported by the labeling engine and will result in an error. You will need to change the alias of the field name in the Template Manager to one without spaces.

 

Basic Properties

The Basic Properties tab provides an interface for setting some basic labeling settings for the current label category, including font, background, border, collision handling, and label rotation:

 

 

Advanced Properties

The Advanced Properties tab provides an interface for setting more advanced labeling settings for the current label category, including shadows, halos, orientation, alignment, and offsets:

 

 

Members

The Members tab provides an interface that helps you build a query statement that will be used to determine which features in the current label category will be labeled.

Field Names: provides a list of fields in the attribute table. Clicking a field name will select it. Double-clicking a field name will add it to the statement input.
 

Unique values: provides a list of the unique values in the currently selected field when the "Get Unique Values" button is pressed
 

Operator buttons: provides a set of buttons (highlighted in light red) representing common keywords/operators used in SQL statements. Clicking a button will add it to the statement input
 

Statement input: the input form to complete the SQL statement (SELECT * FROM [Attributes] WHERE...) that determines which features will be used to determine which features in the current label category will be labeled.  
 

Validate button: allows you to test the input statement and will return an example the statement is valid and an error if not.

 

 

An example statement would be:

 
 ([SampleDate] > #1/1/2000 12:00 AM# AND [SampleDate] < #1/1/2010 12:00 AM#) AND [WATERTYPE] LIKE 'Ca*'

 

which would limit labels to only those samples collected between Jan 1, 2000 and Dec 31, 2009 where the water type included calcium.

 

 


Page url:https://www.waterloohydrogeologic.com/help/hga/index.html?feature_labeler.htm