Weekend Lorry Ban (PTV_GeneralTruckRestrictions)
Posted: Fri Jul 12, 2019 1:39 pm
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: The snippet I used in combination with TruckFast profile:
Happy with that?
Best regards,
Bernd
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: 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>
Best regards,
Bernd