Speed patterns: fixed time of day in profile setting?

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
michel_wsc
Posts: 8
Joined: Mon Mar 05, 2018 4:00 pm

Speed patterns: fixed time of day in profile setting?

Post 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
User avatar
Bernd Welter
Site Admin
Posts: 2696
Joined: Mon Apr 14, 2014 10:28 am
Contact:

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

Post 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
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2696
Joined: Mon Apr 14, 2014 10:28 am
Contact:

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

Post 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.
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply