opentripplanner / OpenTripPlanner

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

Flat mode for bicycle is not flat #5901

Open BhasherBEL opened 3 months ago

BhasherBEL commented 3 months ago

When using bicycle only mode, the flat mode on triangle don't seems to work as expected. The itinerary suggested if far to be the flattest, and even the "quick" mode show a flattest path, which doesn't make sense.

Expected behavior

The "flat" mode should find a flattest path, and at least not less than the "quick" mode.

Observed behavior

"Flat" mode isn't the flattest (there is some flattest path for this journey), and is even less flat than "quick" mode.

image image

Version of OTP used (exact commit hash or JAR name)

docker.io/opentripplanner/opentripplanner:2.5.0

Data sets in use (links to GTFS and OSM PBF files)

Command line used to start OTP

services:
  opentripplanner:
    image: docker.io/opentripplanner/opentripplanner:2.5.0
    command: --load --serve

Router config and graph build config JSON

// otp-config.json
{
  "otpFeatures": {
    "FaresV2": true
  }
}
// router-config.json
{
  "routingDefaults": {
    "numItineraries": 12,
    "walk": {
      "speed": 1.7,
      "reluctance": 1.5
    },
    "waitReluctance": 1.5
  },
  "updaters": [
    ... // Probably irrelevant here
  ]
}

Steps to reproduce the problem

Query a "bicycle only" path, and use "100% flat" mode.

github-actions[bot] commented 3 weeks 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