Skip to content

Scooter_rental mode return the same speed as bike_rental mode #6572

@Chu-c-git

Description

@Chu-c-git

The scooter_rental and bike_rental modes in OpenTripPlanner (OTP) are expected to have independent parameters according to the documentation. However, both modes currently rely on the "bicycle" mode settings in router-config.json, causing the speed configurations to be identical.

Expected behavior

According to document, there are different params for scooter_rental and bike_rental mode in "router_config.json" . The speed of different mode should be difference.

Document sample: https://docs.opentripplanner.org/en/latest/RouteRequest/#config-example

Observed behavior

Both scooter_rental mode and bike_rental mode depends on "bicycle" mode settings.

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

otp-2.6.0-shaded.jar

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

OSM File: https://download.geofabrik.de/asia/taiwan.html
GTFS File: https://drive.google.com/file/d/1OOAdI-tcfOj9y5pjFGiuw557f7IM2f5s/view?usp=sharing

Router config and graph build config JSON

otp_config.json
router-config.json

Steps to reproduce the problem

Image
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleThis issue is stale, no activity for 90 days. Remove stale label or comment within 30 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions