fix(board): use coordinates to get walking distance for multimodal coordinates #1686
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I dagens løsning støtter vi ikke ut å hente koordinater for multimodale stopp. Et multimodalt stopp er et stopp som har flere plattformer. F. eks er Oslo S og Jernbanetorget et multimodalt stopp. I spørringen i dag når man skal hente ut gåavstand, så henter man ikke ut koordinatene til multimodalen, men kordinatet til første quayen som ligger under multimodalen.
Bakgrunn: hvis man har en tavle satt opp i RG5, så viser det at gåavstanden til Dronningens gate er 4 minutter og til Oslo S 3 minutter. Dette er veldig rart da Oslo S er lengre unna enn Dronningens gate. Se slack her: https://entur.slack.com/archives/C9QDFPPQV/p1723182790373569 og her: Message in Slack.
Endringer:
from
ogto
som koordinater.quayCoordinates
ogstopPlaceCoordinates
.-> Disse to brukes for å hente ut koordinater til stoppestedet basert på om det er en quay eller stopPlace.
Note
Gjerne dobbeltsjekk at det stemmer for ditt favorittstoppested🛑