I have a question about the following scenario: Assume that the we have a net driving time of 1 hour to the next station in the case of time independent data. Now I want to include PTV_TruckSpeedPattern and PTV_TrafficIncidents in order to compute the delay to the next station. In order to do that I have to relate the static speed to the dynamic speed.
The problem with my configuration (see below) is the following: The feature layer gives me normSpeedType=FreeFlow and vCalc the dynamic speed. In order to compute the delay I would need the comparison with the static speed. One can obtain the static speed from another calculateRoute-call which I want to avoid.
So, is there a possibility to get the static speed and the dynamic speed in one call?
The configuration for the computation of the dynamic driving times is the following:
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<Profile xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation=\"http:///xroute/schema/XRouteProfile.xsd\">
<FeatureLayer majorVersion='1' minorVersion='0'>
<GlobalSettings enableTimeDependency='true' enableVehicleDependency='true'/>
<Themes>
<Theme id='PTV_TrafficIncidents' priorityLevel='101' enabled='true'/>
<Theme id='PTV_TruckSpeedPatterns' priorityLevel='100' enabled='true'/>
</Themes>
</FeatureLayer>
<Routing majorVersion='2' minorVersion='0'>
<Course>
<AdditionalDataRules enabled='true'/>
<DynamicRouting dynamicTimeOnStaticRoute='true' limitDynamicSpeedToStaticSpeed='true' />
</Course>
<Vehicle/>
</Routing>
</Profile>
In the first row we see the static picture (vCalc on the left hand side and NormSpeed on the right hand side) and in the second one the dynamic picture.
Thank you in advance.
Edit bij jcl: added code block and indentation for readabilitiy