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: 7
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 2 times
request3.xml
compare with request2, just different locations
(4.33 KiB) Downloaded 1 time
response2.xml
second response to second request, 2nd toureventtype Driving NOT visible
(3.5 KiB) Downloaded 1 time
response1.xml
first response to first request, 2nd toureventtype Driving visible
(3.86 KiB) Downloaded 1 time
request2.xml
2nd request, only difference from first request is some max/min speedvalues
(4.34 KiB) Downloaded 2 times
request1.xml
first request
(4.34 KiB) Downloaded 1 time
Post Reply