I've been asked how to consider the Elbtunnel in Hamburg in terms of "tunnel restriction codes" in xRoute1.
Here's an example - check this snippet:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<Profile>
<Common coordinateFormat="OG_GEODECIMAL" language="en" majorVersion="1" minorVersion="0"/>
<FeatureLayer majorVersion="1" minorVersion="0">
<GlobalSettings enableTimeDependency="true" enableVehicleDependency="true"/>
<Themes>
<Theme id="PTV_TruckAttributes" enabled="true" priorityLevel="0"/>
</Themes>
</FeatureLayer>
<Routing majorVersion="2" minorVersion="0">
<Course distanceTimeWeighting="80" enforceShortestRoute="false">
<BasicDataRules>
<Toll extraTollMalus="0" tollMalus="0" vignetteMalus="0"/>
</BasicDataRules>
<AdditionalDataRules enabled="true" />
<Violations>
<SegmentBlockingViolations cost="0" enabled="true"/>
</Violations>
</Course>
<Vehicle>
<Physical>
<Weight emptyWeight="7500" loadWeight="0" totalPermittedWeight="15000"/>
<Dimension height="250" heightAboveFrontAxle="80" length="1200" width="220"/>
</Physical>
<Load hazardousGoodsType="NONE" loadType="GOODS" tunnelRestrictionCode="B"/>
</Vehicle>
</Routing>
</Profile>