PuT supply import
You can additionally import data of the PuT supply from a Visum version file (source network) in an existing network (target network). In addition, the infrastructure of the target network can be supplemented. You can set how and with what components the source file is imported.
Use cases
- Transfer of public transport service data to a network without existing public transport infrastructure:
First import public transport supply data from an external source into an empty Visum network using a suitable importer, for example HAFAS or General Transit Feed (GTFS). You then import this data into an existing network model without public transport infrastructure (stop points and lines) using the public transport supply import function. During the import, all line routes in the target network are routed. For all elements of the stops, the optimum position is searched for and inserted for each line route. This can lead to stop points being combined into one location or a stop point occurring several times in the target network.
- Timetable update of models with existing line routes and stop points:
External timetable data often do not contain any specific data to distinguish between stop, stop area, and stop point. Once this data has been entered into the network model, this information should not be lost when a current data delivery is transferred (timetable update). The use of the PuT supply import makes it possible to take over the routing of existing line routes and to add new ones. Existing stops and stop points remain unaffected by the import.
System requirements
- The calendars of the source and target networks must be compatible for the import:
- Either both networks have the same calendar type No calendar, weekly calendar or annual calendar,
- or there is no calendar in the source network, but there is a weekly or annual calendar in the target network. In this case, the data from the source network is imported with the valid day daily in the target network.
- Both networks are georeferenced:
In case of different projections Visum converts the data of the source network into the coordinates of the target network. The directions of traffic are mapped to each other independently of their names.
Note: Make sure that the source and target networks contain correctly calculated lengths for line route elements and links. Avoid lengths with the value zero. If the source data set does not contain any length specifications, calculate the length from the geographical position (direct distance) and assign the calculated length to the elements. |
Steps of the import process
The public transport supply import is done additively in the loaded network. A second network is opened from a version file and kept in the background during the import. The network loaded in the background is referred to as the source network below and the network visibly loaded for the user as the target network.
In the source network, the following objects can optionally be filtered, other filters are ignored:
- Active vehicle journey sections with the required basic data (valid days, transport systems, vehicles, etc.)
- Stops
- Superordinate objects in the line hierarchy
In the target network, you can optionally include a filter on lines, which defines the supply to be replaced. This way Visum deletes all lines that were active in the target network before the import (including all subordinate objects) after the import process has been completed.
In principle, the public transport supply importer tries to find the best possible line route course in the target network for each line route to be imported. The referencing of the stop points can take place via an attribute comparison for existing stop points in the network or be determined by the geographical location. Not only the stop points are used for routing the line route, but optionally also all route points, as well as the intermediate points of the links crossed by the line routes.
The locations of the selected vertices are transferred from the source network to the target network. Visum proceeds in two steps:
Step 1: An isolated view assigns a set of possible locations ("candidates") in the target network to a location in the source network. When selecting candidates, the parameters snap radius, max. number of candidates per stop event or intermediate point, and standard deviation are particularly relevant. If you have allowed the insertion of stop points outside the existing network in the import settings, the transformed position of the source stop point is also inserted as a candidate in the candidate set. This candidate is later inserted into the network as a new stop point with approaching links.
Step 2: By looking at all locations along a line route, one of each of these candidates is selected. The candidates corresponding to each line route element are selected separately for each line route by joint observation along the line route. The path of the line route is determined this way.
By considering the route courses in isolation, different best candidates can be selected for each route course in the target network for the same stop point in the source network. As a result, one stop in the source network may lead to several stops in the target network. If the same candidate is selected from different stop points on different line routes when selecting candidates, stop points are merged. Therefore, two stops in the source network can also lead to one stop in the target network.
Stop points that are not served by any line route in the source network are not transferred to the target network.
Note: If the stop point topology of the transport supply is to be retained when importing into a network without stop points, the stop points (and their superordinate elements) must be transferred in advance using a network file or similar and integrated into the target network (Aggregating isolated nodes). Please note that it is up to the user to determine the best location for the stop point. The transport supply can then be imported using attribute referencing. |
If it is not possible to search for candidates by comparing the attributes, a comparison of stop points to nodes can be made using georeferencing.
The edges of a path are allocated with probabilities. The probabilities of the path consist of:
- the position of the candidate and the resulting link length
- the evaluation of how the edge fits into the new network
You define the weights of the various properties before the import. The path with the highest probability is selected as the line route.
Recommended procedure
The set parameters affect all lines to be imported. Global parameters do not always achieve the optimum result for every line. Therefore, proceed step by step:
1. Specify strict parameters.
Only those stop points and line routes are imported whose course is unique. Delete line routes for which these parameters are not suitable from the target network after a manual check.
2. Adjust the parameters and re-import the supply.
Line routes that still exist from the first step are confirmed in this step. New line routes are added due to the changed parameters.
This step-by-step procedure allows you to carry out the necessary quality assurance of the results at the same time.
Note: In the directory C:\Users\Public\Documents\PTV Vision\PTV Visum 2025/Examples, you can find an example of use on this topic. The example Importer PuT shows different use cases for the (partial) import of public transport supply from another Visum version file. |