opentripplanner / OpenTripPlanner

An open source multi-modal trip planner
http://www.opentripplanner.org
Other
2.21k stars 1.03k forks source link

Add bikeshare mode #715

Closed kpwebb closed 12 years ago

kpwebb commented 12 years ago

Client interfaces will require differentiation of bikeshare from normal bike modes. Can we include a "RENTEDBIKE" mode?

abyrd commented 12 years ago

Maybe this should not be a separate mode, because we check modes to see if edges are traversable, and rented bikes can traverse exactly the same edges as owned bikes.

I think we just need a switch in the routing requesst specifying whether or not to use bike rental edges.

kpwebb commented 12 years ago

We also need to know in the planned trip that a rental bike was used. Currently these legs are listed simply as "bicycle".

novalis commented 12 years ago

I've added a flag in the API, rather than a new mode.