Using Labels in PTV Vissim

Have you already discovered the labelling feature of PTV Vissim? With labels, you can graphically display attributes, live results, references and attributes of other scenarios in the network editor, enriching your simulation with additional information. You are free to choose position, size and colour of the labels. You can even use colour schemes, so that the colour of a label changes depending on user defined situation.

Activate Labels
To activate labels there is a shortcut in the network objects toolbar represented by the label icon . This icon is shown only when positioning the mouse pointer on the name or after the name of the network object type, or when the label is hidden. Click this icon to show or hide the label of the network objects of this network object type.

Label Configuration
To configure the label, you need to click on graphics parameters to open the graphic parameters flyout.

In the graphics parameters flyout you are able to make the following settings:

Label visibility Select this option to show a 2D label for each network object of this type in the network editor. By default, the label is displayed in the center of the network object. In the Insert mode, use the mouse to move the position of the respective network object type.
Label Color Colour of Label
Label Attribute Opens the window <Name of network object type: Select Attribute>. Click the attribute whose value you want to show as a Label.
Label decimal places Number of decimal places in Label
Label font size Font size of label in pt
Use label colour scheme Labeling of network objects using a colour scheme based on attribute values. Next to the margin on the right, click the   symbol to open the Edit Label Colour Scheme window:
Classification by colour: Attribute by whose values the colour is classified
Colour for undefined value: Label colour when the attribute lies outside the upper and lower limits:   Select a pre-defined colour scheme that contains class bounds and colours.
Range scale factor: Enter a factor for the upper bound and lower bound.
Apply button: Multiply values of upper bounds and lower bounds by a factor.

You decide which network object should show the label
All network objects, which are able to show labels, have an attribute “Show Label”. By default this attribute is “true” so that the labels of all objects are shown in the network editor. If you want to show labels only from some single network objects, you can deactivate the “Show Label” attribute – the label of these objects will then disappear in the network editor.

Locate your labels anywhere you want
To relocate labels, you can use the mouse in the network editor or enter an offset value in the list or quick view toolbar. To adjust the position with the mouse, click on the network object in the network object toolbar, then in the network editor, move the cursor on the label of the desired network object ( ). The offset from the default label position is saved in the attributes “Label position relative (x)” and “Label position relative (y)”. Of course you can edit the numbers of the attributes to relocate the label for a specific network object.

Labels become more powerful with user-defined attributes (UDAs)
To customise labels, you can make use of UDAs. Using UDAs you can combine multiple attributes and add additional text to the label, for example: “travel time 22.3s”, where 22.3 is attribute value.

Never lose your graphic settings anymore
The layout of a network editor is defined by graphic parameters and settings in the network objects toolbar. You can assign the current layout of a network editor a name, under which you can import the layout again later on. You can save these so-called named network editor layouts to the *.layx file. In a network editor, you can choose a network editor layout from all the named ones available; to change the graphic parameters and network object toolbar settings of your window accordingly.

This post is also available in: German