Traffic patterns represent traffic flows. These are modelled to individual segments with the help of speed data. A change in travel time or route results from lower speeds on road sections with heavy traffic. They are not mentioned in traffic reports about congestions or construction works because they are purely statistical patterns of traffic flow. The following graph shows the speed on a certain segment throughout a day.
For a more detailed description, use the Traffic Patterns manual in the Customer Area (access rights and login obligatory), which is added into the document tree: Traffic Information.
The following figure shows a typical daily situation in rush hour. The y-axis represents the velocities and the x-axis the time intervals starting at 0:00 am and ending at 11:30 pm. The volume of traffic rises between 7:00 and 8:00 am and around 4:00 pm.
The data are available as binary files. It is not included in the standard delivery package, but must be ordered separately from PTV.
The data does not contain any current traffic reports, e.g. on congestion or other disruptions.
The binary files must match the map used (they are not compatible).
In general, we deliver 9 binary files with consecutive dates. There is usually one binary file per weekday that shows the traffic flow in a country throughout different times of the day. The two additional traffic pattern files (for previous and following day) are used to calculate travel times for routes over more than one day.
Prefix: "ptv_"
Name of dynamic profile: "name"
Affix: "_gl_"
Date: "200217" (for 2020/02/17, date for which traffic pattern is valid)
Affix: "_0000"
Suffix: "bin"
The files are named according to the actual processed data. It isn't permitted to change the file names.
Depending on the selection of vehicle types, different dynamic speed tables are configured by default. The following figure shows the pre-defined functions to adapt the default speed pattern to each vehicle type.
Following steps are to be carried out to perform dynamic routing with traffic patterns:
Change the file <PTV xRoute basic directory>/conf/xroute.properties:
dynamicParameter.normLayerSize=25000000: Must be larger than the largest binary traffic pattern file
dynamicParameter.enableDynamic=true: Use of dynamic routing must be enabled before
dynamicParameter.ipServer=...: In general this entry needs to be empty (optional setting).
Restart the PTV xRoute Server. PTV xRoute has created the following new folders in its base directory:
dyn/layer/GL<1001>
dyn/layer/shm
Copy traffic pattern files into the following folder while the PTV xRoute Server is running:
dyn/layer/gl/GL<1001>
You might have to make changes for following parameters automatically set in xroute-<profile>.properties like this:
dynCutSpeeds=1: This change might be necessary if as the traffic patterns contains higher speeds in the relevant profile of the PTV xRoute Server than the statistical speed. To avoid that a route accounting for the traffic situation leads to faster travel times than the corresponding statistical route, the dynamic speed is cut back for the statistical route.
dynamicParameter.dynSpeeds=1,10,20,30,40,50,60,70,80,90,100,110,120,125,125: Defines the speeds for the speed value mapping for each vehicle. The number of theses values must correspond to the number of the values "dynamicParameter.dynStdSpeeds" in the general properties file.
If dynamic routing is activated, the itinerary (route segment sequence in routing results) refers to the dynamic route. If it is not activated, it refers to the statistical route. The itinerary that refers to the statistical route does not account for dynamic routing.
For detailed information related to the deployment scenarios please contact PTV xServer support.
Copyright © 2024 PTV Logistics GmbH All rights reserved. | Imprint