Page 1 of 1

Speed patterns: fixed time of day in profile setting?

Posted: Mon Mar 05, 2018 4:18 pm
by michel_wsc
Hello,
I want to work with speed patterns (i.e. historical traffic data) for routing and I want to use a fixed time of day to be used for route calculation (e.g. 8:00am).
Is there a way to save this time parameter in any property file or profile?

Best regards,
Uli

Re: Speed patterns: fixed time of day in profile setting?

Posted: Mon Mar 05, 2018 4:26 pm
by Bernd Welter
Hello Uli,

as far as I Know there are only two ways to specify the Date/Time context of a routing:
  • Via RoutingOption.StartTime
  • If RoutingOption.StartTime is empty the server's current date time is used.
I asked DEV to let me know whether there's a config value but I guess this isn't possible. I hope they correct me.

Best regards,
Bernd

Re: Speed patterns: fixed time of day in profile setting?

Posted: Tue Mar 06, 2018 8:10 am
by Bernd Welter
Hello Uli,

though I am a bit sceptic about the following approach I let you know it exists:
My colleague from the core team mentioned that you could use the High Performance Routing approach. As you might know the required SEARCH GRAPH is calculated based on a tool named RoutingNetworkGenerator (xServer1) and the command line options are
  • The profile name (incl. the names of potential feature layers such as PTV_TruckSpeedPatterns or PTV_SpeedPatterns)
  • The reference time that should be used for the snapshot "experience"
So if you create a searchgraph file based on those values you might be able to refer to a time context.

Best regards,
Bernd

PS: xServer 2 provides a so-called SNAPSHOT mode which is also based on a reference time which has to be specified via API.