Skip to main content

Custom Layer Styles

Defining a Custom Layer Style

You can create one or more styles for a Layer that check if the data for each subsection of your Network assets satisfies a custom formula. Build your formula out of blocks representing data elements and operators. When the Layer is active, each subsection will be coloured according to the last style that triggered on it.

To add a Custom style to a Layer:

  1. Do one of the following:

    Create a new Layer
    1. Click the top Layers icon. In the dropdown, click Add Layer.
    Image Description
    1. Enter a unique name for the new Layer, based on the data it will represent. Choose the Layer Group folder it will belong to. Click OK to continue.
    Image Description
    Open an existing Layer
    1. Click the top Layers icon. In the dropdown, open the folder containing the relevant Layer.
    Image Description
    1. Hover over the Layer, click its Options icon, and then click the Edit Layer icon that appears below it.
    Image Description
    1. In the Styles window, select Add Style.
    Image Description
  2. In the Add New Style window, enter a name for the style in the top box.

    Image Description

    When you hover over a Layer in the Layers dropdown, the names and colours of its styles are displayed in a pop-up legend. Therefore, the name should provide a helpful description of the data for the style.

    Image Description
  3. In the second text box, enter a short code abbreviation for the style. Enter up to 5 alphanumeric characters. If you place a space between each character, they will be displayed in vertical alignment.

    Short codes are displayed when there isn't enough room for the style's full name, e.g. displaying data items related to a Section.

    Image Description
  4. To change the style's appearance, click the Change Colour icon beside the text box, and then choose a new colour from the wheel. To change the style's size, click the Change Size icon to switch between Large and Small (for point data) or Thick and Thin (for line data).

    Image Description
    Image Description
  5. Define the style's formula in the Formula box. You can build the formula using the available data elements and operator building blocks to create a logical statement. You can also use non-standard operators in a custom formula.

    In the Formula box, click Add. Choose an operator in the list and select Save.

    Image Description

    The chosen operator will appear in the Formula box, along with the necessary elements (green calculator icons) to complete the formula.

    Image Description
  6. To configure each green element, click it and then choose one of the following:

    • Value - enter a valid number or text value as appropriate, or choose a value from the list if any are available (based on the Layer's data source).

    • Type:

      • Operators - to create a bracketed expression within the formula, choose another operator from the list. This can be done with any green element, allowing for the definition of complex formulas.

        Image Description
      • Standard - choose a standardised parameter from the list.

      • Observations / Project - choose an available parameter from the Layer's data source.

    Select Save to continue.

    Image Description
  7. Select Save to create the new style.

    Image Description

Reorder styles

To change the order of the Layer's styles, click their up and down arrows.

Image Description

Styles are evaluated in the order you specify here. The first style is evaluated before the other styles. The last style is evaluated after the others and appears on top of them when displayed on the map.

Image Description