Theme Precedence

The order in which sub themes appear in the Sub Theme Manager Pane of the Layer Theme Editor is extremely important as it determines the order in which they are applied to the Geoplan.

The base or default theme is applied first and later themes may override earlier themes if they are applied to the same properties, over the same zoom/scale range. Properties are the object type-specific attributes (such as symbol, symbol colour, line style, line width, etc...) available to pick from in the Properties section of the Sub Theme Editor Pane. The details of the selected properties are shown in the Ranged Themes grid of the Layer Theme Editor.

ClosedShow me

The toolbar Move Up ( ) and Move Down ( ) buttons of the Sub Theme Manager Pane should be used to respectively promote or denote Sub Themes.

Tip

Disabled themes are themes that are not displayed on the GeoPlan Window. Such themes are not subject to theme precedence as they are hidden. To enable a hidden theme, select it in the Sub Theme Manager Pane and click the Enable/Disable button () on the toolbar. Once enabled, a theme will follow the theme precedence.rules described above.

All themes have zoom levels. This means that different themes can be set up for the same layer but that they may be applied at different zoom/scale levels.

Tip

Zoom or scale levels are available to configure in the Visible Range section of the Layer Theme Editor.

Click on the Example button below to reveal an example illustrating theme precedence.

Closed

Properties or attributes override using a process called cascading styles. This process specifies a priority scheme determining which style applies if more than one style has been defined for a particular property. The rule is that properties specified for the topmost sub-theme take precedence.

In other words, sub- themes applied early (sub-themes listed towards the bottom of the list in the Sub Theme Manager Pane) will be overridden by sub-themes applied later (located higher up the list in the Sub Theme Manager) for properties specified over the same zoom or scale range.

We will assume that the sub-themes are applied over the same zoom /scale range for the purpose of this example.

If we consider the example of 2 conduit sub-themes for system type and shape, for which attributes or properties are shown in the screenshot below:

For better clarity, the properties have been summarised in the table below:

Sub-Theme

Symbol

Line Colour

Line Style

Line Visibility

Line Width

system type

not set

storm - blue

#NOT - white

not set

not set

3

3

shape

not set

CIRC - red

RECT - green

dotted line

dotted line

not set

2

2

base theme

(default theme)

none

Khaki

not set

100%

1

system type sub-theme takes precedence for the line colour and line width attributes. As no line style has been configured for system type, the next sub-theme down that has settings for this property takes precedence, which is shape. This means that the line style will be dotted on the GeoPlan. Similarly, as neither system type, nor shape have had the symbol and the line visibility properties specified, the values that will prevail are the ones of the next theme down, which is the base theme in our case (none and 100% respectively).

Now, if we look at the system type and conduit shape distinction, the current setup means that all conduits of system type storm will be displayed in thick dotted blue lines, regardless of their shape whilst conduits of any other system type will be shown in thick dotted white lines, also regardless of their shape. This shows that the current shape sub-theme is not being effective at all and perfectly illustrates the property override mechanism.

One of the following suggestions should be considered:

The image below illustrates how the cascading styles work if we over-simplify our example to the extreme. If we consider that each sub-theme is a transparent sheet of paper with properties on it and if we look at the superimposition of themes from the top, it can be seen that the resulting theme will have the line width and colour attributes of sub-theme 2 and the line style of stub-theme 1. Sub-theme 2 has no line style property set, therefore it is the next "visible" configuration of the line style attribute that will take precedence.

GeoPlan Themes

Layer Theme Editor

Managing Themes

GeoPlan Properties - Layers and Themes Page

GeoPlan Window