routing: how to activate FreeFlowSpeed?

Deals with generic topics such as logging, framework and so on. If you are not sure where to place your topic just put it here.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

routing: how to activate FreeFlowSpeed?

Post by Bernd Welter »

Hi there,

these days I was asked by several customers how to enable the FreeFlowSpeed parameter within routing. As this question has affects xRoute, xDima, xTour (and any other routing based server module) I decided to place it in the generic forum:

I'd like to go a little bit more into details:
  • FreeFlowSpeed values are an alternative to the speed mechanism provided by PTVs traditional speedclass/networkclass approach (SC/NC): our data providers deliver a specific speed value called FreeFlowSpeed. It's usage disables (replaces) the SP/NC.
  • You need access to the corresponding feature layer (proper license keys (e.g. xroute.featureLayerThemes), additional data)
  • WIthin the request or profile you have to use the following parameters
    • @\Routing\Course\DynamicRouting\useFreeFlowSpeed=true
    • @\FeatureLayer\GlobalSettings\enableTimeDependency=false
    • @\FeatureLayer\Themes\Theme\id="PTV_SpeedPatterns" enabled="true"

    Code: Select all

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Profile>
        <Routing majorVersion="2" minorVersion="0">
            <Course>
                <AdditionalDataRules enabled="true"/>
                <DynamicRouting limitDynamicSpeedToStaticSpeed="false" useFreeFlowSpeed="true"/>
            </Course>
        </Routing>
        <FeatureLayer majorVersion="1" minorVersion="0">
            <GlobalSettings enableTimeDependency="false"/>
            <Themes>
                <Theme id="PTV_SpeedPatterns" enabled="true"/>
            </Themes>
        </FeatureLayer>
    </Profile>
Further examples are available in the built-in documentation.

Do not hesitate to get in touch with us in case of questions,

Bernd
Post Reply