HSLdevcom / HSLdevcom/digitransit-ui
Suggesting routes with longer walking distance than walking directly to destination
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):
I get the following expanded route alternative:

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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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