Good day and congratulations with the new update of OTP
Checked the boards for this question but I didn't find it.
I started a new local OTP server for the Netherlands with the latest OTP version.
There is a suspicious activity with the "maxWalkDistance" query parameter and the returned itineraries.
It seems that the OTP engine returns itineraries with legs with greater length than it.
Scenario screenshotted:
here maxWalkDistance=300 (meters) but 1.2 mile leg itinerary is returned
localhost link if you want to extract the query (Netherlands coverage required):
The same itineraries are returned if maxWalkDistance is default (4800) or very short; maxWalkDistance seems to have no effect on the output (even though it's the first leg that is to be walked 1.2miles).
Docs reference for maxWalkDistance:
-maxWalkDistance
-query
-The maximum distance (in meters) the user is willing to walk. Defaults to unlimited.
Any idea on how is maxWalkDistance applied / why do we have it? Can it be used if a user wants to limit their walking (instead / in conjunction with walkReluctance)
Thanks in advance,
Stoyan