Saving a list as an attribute file

All attribute files are text files with the extension *.att. In an attribute file, you can save the data displayed in the current list window, i.e. the attribute values of network objects.

1.  Make sure that the required list window is open.

2.  Make the desired changes to the list settings.

3.  On the toolbar of list window, click the Save list as attribute file button.

The Save: Attributes window opens.

4.  Enter the file name and the path, if required.

Notes: By default, attribute files are saved to the directory specified in the project directories (Opening and saving a project directories file).

The extension *.att is used for all attribute files, regardless of the list type used to create them. You should thus name the file appropriately.

5.  Click the Save button.

The Save attributes to file (<network object type>) opens.

6.  Make the desired changes.

Element

Description

Column selection

Add key attributes automatically

If the option has been selected, key attributes are saved.

Key attributes are used to uniquely identify network objects (Key attributes). You can specify whether the key attributes should be link-related, node-related, or both.

Export list columns only

If this option is selected, the file can only be read in again if it contains the necessary key attributes (Key attributes).

Settings

Separator

You can select one of the following separators from the drop-down list:

  • Semicolon
  • Blank
  • Tabulator

Notes

You can only import attribute files again if you select either the semicolon or the tabulator as separator.

You can save grouped lists but they cannot be read in again.

You cannot read attribute data from the following lists:

Save extended attribute information

If the option is selected, the long names of the attributes are displayed in the comment in the header section of the saved attribute file.

Note

The setting is stored in the Windows system database (registry).

List info

Objects total

Number of objects in the network

Objects listed

Number of active objects in the network

Objects not listed

Number of passive objects in the network

Note

The list statistics will display the state of the network if you click the  Show only active <network objects> symbol.

7.  Confirm with OK.

The attributes are saved to an *.att file according to the settings.

Key attributes

Key attributes uniquely identify network objects and are automatically inserted into an attribute file as the first column (or columns) when saved if the Add key attributes automatically option is selected.

In the table, you can see which attributes are saved as key attributes for the corresponding network object if you make the respective selection.

Selection

Key attributes for

 

Links

Turn

link-related

Number, From-node number

From-link number, Via-node number, To-node number

node-related

From-node number, To-node number

From-node number, Via-node number, To-node number

Link-related and node-related

Link number, From-node number, To-node number

 

 

Line routes

Time profiles

Name

Line name, Name, Direction code

Line name, Line route name, Direction code, Name

ID

ID (cannot be imported)

ID (cannot be imported)

 

Line route items

Time profile items

Name

Line name, Line route name, Direction code, Index

Line name, Line route name, Direction code, Time profile name, Index

ID

Line route ID, Index (cannot be imported)

Time profile ID, Index (cannot be imported)

Notes: Key attributes cannot be overwritten when reading attribute files.

If your list contains aliases instead of the usual attribute names, the aliases are saved to the attribute file (Specifying an alias for attribute names).

If you read this file once more, Visum first checks whether a column identifier corresponds with an attribute ID. If this is the case, it is suggested. If this is not the case, Visum checks whether it is a valid alias.