DRIVING event is not displayed after WAITING in certain scenario

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
marius.vladutoiu
Posts: 8
Joined: Tue Mar 12, 2024 10:30 am

DRIVING event is not displayed after WAITING in certain scenario

Post by marius.vladutoiu »

Hello,
I have the following situation.
Driving from A > B, between A and B there is a changed in the combined transport (RAIL), which automatically generates a WAITING tourEventType between A and B.
So basically the tourEventTypes in the response are like this (see response1 xml file attached, the request for this response is request1):
  • Service (at location A)
  • Driving (from A to location of change from road to RAIL)
  • Waiting (entry-exit the RAIL combined_transport)
  • Driving (from location of exit Rail to B)
  • Service (at location B).
This is ok, as I expect it.

However, when I change the maximum/minimum speeds in the initial request (see request2 xml attached) to other values, suddenly the tourEventTypes list in the response (see response2 xml file) is missing the 2nd Driving event. In other words it looks like this:
  • Service (at location A)
  • Driving (from A to location of change from road to RAIL)
  • Waiting (entry-exit the RAIL combined_transport)
  • :!: Driving (from location of exit Rail to B) (event missing)
  • Service (at location B).
Question is:
Why is this second 'Driving' toureventtype missing? I am counting on it to be there, and cannot figure out why some different speeds would make it disappear.
Note: it may be that it is not the speeds creating the issue with the missing toureventtype, that is just my experience.
I attached here as well another request (request3 xml), which is using the same speed profile from the problematic request2, except other A-B addresses (which nevertheless have a combined transport change point between them). But in this case, the response is still ok, the 2nd Waiting tourEventtype still appears in the response (response3 xml attached).
Attachments
response3.xml
compare with response2, 2nd Driving toureventype appears OK
(3.81 KiB) Downloaded 21 times
request3.xml
compare with request2, just different locations
(4.33 KiB) Downloaded 17 times
response2.xml
second response to second request, 2nd toureventtype Driving NOT visible
(3.5 KiB) Downloaded 15 times
response1.xml
first response to first request, 2nd toureventtype Driving visible
(3.86 KiB) Downloaded 15 times
request2.xml
2nd request, only difference from first request is some max/min speedvalues
(4.34 KiB) Downloaded 22 times
request1.xml
first request
(4.34 KiB) Downloaded 21 times
User avatar
Bernd Welter
Site Admin
Posts: 3094
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: DRIVING event is not displayed after WAITING in certain scenario

Post by Bernd Welter »

Hi Marius,

I forwarded the topic to the helpdesk (#6506) and expect this to be checked by DEV.

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:
Image
marius.vladutoiu
Posts: 8
Joined: Tue Mar 12, 2024 10:30 am

Re: DRIVING event is not displayed after WAITING in certain scenario

Post by marius.vladutoiu »

I have been playing with this issue some more, with different scenarios, and got the same strange behavior, but even with same speeds, just a different address as destination. So I wonder if it is rather an issue of geography of some sorts.
I did identify a scenario where in the xroute response, the Driving is shown after the combined transport Waiting event, BUT if I just change the final location to another address (geocoordinate), the expected Driving after the Waiting is not shown anymore.

Any ideas yet why this is happening, please?
Attachments
response5.xml
response nok, no driving after waiting
(4.67 KiB) Downloaded 2 times
response4.xml
response ok, driving after waiting
(5 KiB) Downloaded 2 times
request5.xml
modified request4 only with 2nd location
(4.32 KiB) Downloaded 2 times
request4.xml
original
(4.32 KiB) Downloaded 2 times
Post Reply