Page 1 of 1

routing: how to activate FreeFlowSpeed?

Posted: Fri Mar 06, 2015 2:43 pm
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