bcgov / ols-router

BC Advanced Route Planner
https://bcgov.github.io/ols-router/
Apache License 2.0
23 stars 11 forks source link

Ferry schedules ignored when generating a route between Victoria and Vancouver #324

Open mraross opened 2 years ago

mraross commented 2 years ago

In demo app in prod, enter Victoria and Vancouver then turn on ferries layer and click on Swartz Bay ferry terminal as follows:

image.png

It says Schedule: Unknown which means the router can't find a schedule for that ferry. Graeme tried it on their version of the demo app and it found a schedule.

Look in directions at the ferry instructions as follows:

image.png

It says wait for 10 minutes for the ferry which is what it always says when it doesn't know the schedule.

This affects TransLink Route Planner as well.

cmhodgson commented 2 years ago

The sample schedules that Graeme created were only configured (in the mocked-up ferries gtfs data) to be valid until the end of 2020. If you just want the same schedules as before (which have not been validated in any way for a year or more) then the dates in the file calendar.txt in the /gtfs subdirectory of the router data directory can just be incremented by a year or two.

cmhodgson commented 2 years ago

I see that the calendar.txt on our dev server was updated in January to extend the valid period to 2022. I'm not sure if we send you the gtfs folder ever? Here is the updated file. calendar.txt

gleeming commented 2 years ago

I updated the calendar file in January because those dates had just expired. I send Brian the gtfs folder monthly in the router input package, so DataBC has been receiving this change. There must be an issue with how it is getting deployed to the router startup directory.