HSLdevcom / HSLdevcom/digitransit-ui

Suggesting routes with longer walking distance than walking directly to destination

Open
#1,812 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
267
Forks
145
Avg merge
1d 15h
Merged PRs (30d)
75

Description

Using the query (same as in #1811):

https://www.reittiopas.fi/reitti/Hiiralantie%201A%2C%20Espoo%3A%3A60.163351%2C24.799716/Westendintie%2099%2C%20Espoo%3A%3A60.162875%2C24.791422/1?arriveBy=false&time=1504605600&walkSpeed=1.2

I get the following expanded route alternative:

screenshot

It is quite silly since it asks me to walk 750m to a bus stop and then take a bus when walking directly to the destination is only 500m (first route alternative in the list).

As a side issue, the rendering of the bus line on the map is buggy.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the route using the URL in the issue and compare the walking-only option with the expanded public-transport alternative. Investigate why a route with a longer walk is suggested, then check the related bus-line rendering on the map; done means the alternatives are sensible and the bus line renders correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.