opentripplanner / OpenTripPlanner

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

OTP 2.4 bicycle mode discrepancy and isochrone query #5384

Closed rvinogradov closed 8 months ago

rvinogradov commented 1 year ago

I'm using OTP 2.4 to create isochrones for a use case in Amsterdam. I noticed two things:

Firstly, the version 2.4 documentation suggests using "BIKE" as the mode to simulate bicycle travel (source). However, I've found that only "BICYCLE" works, which appears to be a remnant from version 2.3 (source). Is this an oversight that still needs updating in the software, or might I be misinterpreting the documentation?

Secondly, I wish to generate isochrones exclusively for bicycle travel. Currently, the setup also accounts for scenarios where a bicycle is taken onto public transport, followed by cycling from the arrival station to the destination. I noticed the same applies to travel by foot. Is there a way to simulate bicycle-only / walk-only travel? Or would I need to configure the OTP route planner without including the GTFS file in the OTP directory?

leonardehrenfried commented 1 year ago

Firstly, the version 2.4 documentation suggests using "BIKE" as the mode to simulate bicycle travel (source). However, I've found that only "BICYCLE" works, which appears to be a remnant from version 2.3 (source). Is this an oversight that still needs updating in the software, or might I be misinterpreting the documentation?

This is expected. The page states:

This page is intended as an exhaustive listing of what OTP's routing engine is capable of and therefore documents internal names. Since OTP has multiple APIs where each works slightly differently, please consult your API documentation on how to select the appropriate mode.

(I might need to highlight this point a bit more.)

The problem is that there isn't any documentation about the allowed modes.

This brings me to the second point. This module is effectively unmaintained and none of the core developers have detailed knowledge about what exactly is supported and what isn't.

You could try your approach but I'm not sure what will happen. One thing is sure though: OTP's main focus is on public transport so this use case is supported best.

Lastly, we have a chat room at https://gitter.im/opentripplanner/OpenTripPlanner where other users of this feature have asked questions before and maybe they can help.

rvinogradov commented 1 year ago

Thank you for your reply. I attempted to exclude the GTFS module in the configuration; however, the response returned a <Response [500]>. It seems that for simulating travel by walking-, biking-, or car-only, I might need to use a different route planner

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days