Aggregating lines
With this functionality you can aggregate line routes and/or time profiles of one or several lines. Line routes and/or time profiles can be aggregated within one line or over several lines (Fundamentals: The line hierarchy). You can then also aggregate the vehicle journeys.
1. In the Network editor window, click the Edit mode icon .
2. In the Network window, click the Lines button.
The Lines window opens.
3. Make sure that the Lines option has been selected.
4. If required, select the line in the list whose line routes you want to aggregate.
Note: If you do not select a line, all lines will be included. |
5. Right-click in the network display.
A shortcut menu opens.
6. Select the Aggregate entry.
Note: If you have not selected a line in the Lines window beforehand, the menu entry is Aggregate all and all lines in the network will be included. |
The window Aggregate lines, line routes, and time profiles opens.
Tip: Alternatively the window can be opened by pressing the F7 key. |
7. Make the desired changes.
Element |
Description |
Aggregate only active line routes |
If the option has been selected, only the currently active line routes will be aggregated. Note The option is only available if you have not selected a line in the list of the Lines window beforehand. |
Section Extent of aggregation |
Aggregate lines, line routes, and time profiles If the option has been selected, all line routes and time profiles of the selected line(s) will be aggregated. Aggregate line routes and time profiles separately within associated line If the option has been selected, time profiles and line routes are aggregated separately per line. Aggregate time profiles separately within associated line route If the option has been selected, the time profiles are aggregated separately per line route. Regroup line hierarchy in requested levels by value of attribute If the option has been selected, the levels of the line hierarchy are aggregated according to the option selected. In the course of this, the value of the attribute is decisive, which you select via the button. Aggregate vehicle journeys afterwards If this option is selected, the vehicle journeys are subsequently aggregated according to the previously selected aggregation. |
Section Naming of new objects |
If you have selected one of the options Aggregate line routes and time profiles and Aggregate line routes and time profiles separately within associated line, you can select the following options: From line route with max. vehicle journeys If the option has been selected, the name of the line route with the most vehicle journeys will be given to the aggregated line route. Note We recommend this option if you read in a large number of line routes with similar data from an external source which you want to aggregate. Generated name If the option has been selected, the aggregate line route receives a new generated name consisting of GEN + first available integer, for example GEN1. |
Line routes criteria |
If you have selected one of the options Aggregate line routes and time profiles and Aggregate line routes and time profiles separately within associated line, you can select the following options: Line routes with identical direction If the option has been selected, only line routes with the same direction will be aggregated. Line routes with identical length of the section in common If the option has been selected, only line routes with identical lengths on common sections will be aggregated. Line routes have to have identical start stop points If the option has been selected, only line routes with the same start stop point will be aggregated. Line routes have to have identical end stop points If the option has been selected, only line routes with the same end stop point will be aggregated. Minimal route course share in common (measured in link length) Share of the route course that the line routes to be aggregated must have at least in common. Only if the common share of the route course is greater for one of the line routes than the specified parameter, the line routes are aggregated. |
Time profile criteria |
For time profiles, you can select the following options: Time profiles with identical in-vehicle times and dwell times If the option has been selected, only those time profiles with identical run and dwell times between/at stop points will be aggregated. If the option is not selected, you can make a selection for the options Calculation of in-vehicle times and Calculation of dwell times. Time profiles with identical board/alight settings If the option has been selected, only time profiles with stop points with identical board/alight settings will be aggregated. Time profiles with identical vehicle combinations If the option has been selected, only time profiles with identical vehicle combinations will be aggregated. Calculation of in-vehicle times In the drop-down list, select the desired aggregation function for calculating the resulting in-vehicle times. Note The option is available only if you have not selected the option Time profiles with identical in-vehicle times and dwell times. Calculation of dwell times In the drop-down list, select the desired aggregation function for calculating the resulting dwell times. Note The option is available only if you have not selected the option Time profiles with identical in-vehicle times and dwell times. |
Delete lines without line routes at the end of the procedure |
If the option has been selected, all lines with no line routes are deleted at the end of the operation. Note It is not relevant, whether the line has no line route any more due to the aggregation or whether this was the case even before. |
Temporarily deactivate command history to save storage space |
If the option has been selected, no commands will be saved during the aggregation. |
8. Confirm with OK.
The lines are aggregated and a window opens. It contains the name and the path of the aggregation protocol.
9. Confirm with OK.
Tip: You can open the aggregation protocol immediately if you click the Open button. |