mattwigway / TransitRouter.jl

Efficient transit routing for analytic applications in Julia
Apache License 2.0
5 stars 0 forks source link

Access/transfer to transit at closest stop #21

Closed mattwigway closed 1 year ago

mattwigway commented 1 year ago

Currently, if there are multiple stops within walking distance and more than one of them will allow you to catch the same vehicle, the one the router chooses is pretty much random (I think it's actually the first one in the GTFS file, not that that's meaningful). This doesn't affect overall travel times, but makes for some pretty strange routes:

image

Solution is to switch to a 1.5 objective optimization - still optimize on time, but break ties using walk distance.