Tree item

definition

All elements that occur in a configuration are called tree items. Four types of tree items are distinguished:

name

Each tree item is configured with a keyword (unit, attribute, parameter, container or template) and at least a name.

full name

Based on the hierarchical structure, a full name can be derived for each tree item. This full name includes the name of the item and the name of all it’s parents.

This full name is comparable to a full file path in a directory structure.

properties

Properties can be configured as relevant characteristics for an item. To configure a property use:

  • A colon (:) after the name of the item, before the first property.
  • Commas (,) as separators between properties

example

attribute<meter> length (road) := arc_length(geometry), descr = "length of the road";

In the example an attribute tree item is configured with as:

  1. values-unit: meter
  2. name: length
  3. domain-unit: road
  4. two properties, an expression: arc_length(geometry) and a description: length of the road.