Page 1 of 1

Weekend Lorry Ban (PTV_GeneralTruckRestrictions)

Posted: Fri Jul 12, 2019 1:39 pm
by Bernd Welter
Hi there,

during a recent workshop I was asked how the PTV xServer routing can take care of the weekend lorry ban, e.g. "truck is not allowed to drive in Germany on sunday". I made a little test with my xDynTraffic tool which shows the behaviour of the routing when the FeatureLayer PTV_GeneralTruckRestrictions is activated:
Route from Hamburg to Strasbourg. Usually requires several hours. As the start of the route is set to late saturday evening the truck can't reach the destination on the same day. The vehicle is supposed to have a break on the track due to the weekend lorry ban. You can see the "jump" in the segments list.
Route from Hamburg to Strasbourg. Usually requires several hours. As the start of the route is set to late saturday evening the truck can't reach the destination on the same day. The vehicle is supposed to have a break on the track due to the weekend lorry ban. You can see the "jump" in the segments list.
The snippet I used in combination with TruckFast profile:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<Profile>
	<Common coordinateFormat="OG_GEODECIMAL" language="en" majorVersion="1" minorVersion="0"/>
	<Routing majorVersion="2" minorVersion="0">
		<Course distanceTimeWeighting="80" enforceShortestRoute="false">
			<AdditionalDataRules enabled="true" layerName="">
			</AdditionalDataRules>
		</Course>
	</Routing>
	<FeatureLayer majorVersion="1" minorVersion="0">
		<GlobalSettings enableTimeDependency="true"/>
		<Themes>
			<Theme id="PTV_GeneralTruckRestrictions" enabled="true" priorityLevel="0"/>
		</Themes>
	</FeatureLayer>
</Profile>
Happy with that?

Best regards,
Bernd

Re: Weekend Lorry Ban (PTV_GeneralTruckRestrictions)

Posted: Tue Jul 16, 2019 12:34 pm
by Bernd Welter
Another nice example, based on 7x24 different dynamic scenarios (static route from Hamburg to Freiburg) in Germany:
Special example for GENERAL TRUCKRESTRICTIONS
Special example for GENERAL TRUCKRESTRICTIONS
  • Germany has a lorry ban on saturdays during the vacation period of „July 1st till August 31st, 0700 - 2000“.
  • There‘s also a generic lorry ban on Sundays (00:00 till 22:00, whole year).
  • So on some weekends the laws apply as follows:
    • SAT 07:00-20:00 lorry ban
    • SAT 20:00-24:00 allowed for 2 hours
    • SUN 00:00 – 22:00 lorry ban
    This explains the shape of these 168 hourwise „dynamic times on static routes“ from Hamburg to Freiburg
    For some of the scenarios the driver has to take several breaks due to the lorry bans
Thanks for the analysis, Haba!

Best regards Bernd

Re: Weekend Lorry Ban (PTV_GeneralTruckRestrictions)

Posted: Tue Jul 23, 2019 1:41 pm
by Bernd Welter
Hi there,

besides the capability "we can consider this in the routing" there's also the possibility "to visualise" the data in xServer2:
Here are some examples of the European Truck Restrictions. As you surely :lol: know:
  • a map can have a time context
  • the visualizytion style of a restriction depends on the time dependency mode and whether a restriction applies (red) or not (grey) in the current context
The sample images have beeen created with a SNAPSHOT mode.
Monday, 22.07.2019 - the areas are displayed in grey which means &quot;there is a time based restriction but it doesn't apply in the current time context of the map (monday)
Monday, 22.07.2019 - the areas are displayed in grey which means "there is a time based restriction but it doesn't apply in the current time context of the map (monday)
Sunday, 21.07.2019 - generic sunday lorry ban, e.g. Germany (complete year)
Sunday, 21.07.2019 - generic sunday lorry ban, e.g. Germany (complete year)
Saturday, 20.07.2019 - temporary lorry ban on saturdays during the holiday season (1.7.-31.8.)
Saturday, 20.07.2019 - temporary lorry ban on saturdays during the holiday season (1.7.-31.8.)
Best regards,
Bernd

Re: Weekend Lorry Ban (PTV_GeneralTruckRestrictions)

Posted: Wed Oct 18, 2023 1:47 pm
by Bernd Welter
For the record: the provisioning of PTV_GeneralTruckRestrictions layer has been discontinued in 2021 :cry: