stadtnavi / digitransit-ui

Digitransit UI Clone, especially for the city of Herrenberg ("stadtnavi.de")
https://stadtnavi.de/
Other
13 stars 14 forks source link

Same Departure and Destination adresses still show a route #501

Open nghanem-poet-egypt opened 3 years ago

nghanem-poet-egypt commented 3 years ago

if the exact same From and To adresses are entered, the webapp still shows a route (it's a very long route, like going in a circle and then getting back to the same point). I think this should not be the case, the webapp should show a message that the "from" and "to" are the same and the user should enter another destination. See screenshots for some examples.

Also I tried the same thing in digitransit and the behavior is like I suggest, the app shows a message for the user.

nghanem-poet-egypt commented 3 years ago

20210526 09_27_58-Window Same From and to digitransit Same From and to Stadtnavi

sara-georgy commented 3 years ago

Same behavior here:

image

MartinH-open commented 3 years ago

Depending on how you enter the same origin and destination the situation is already sometime detected somehow and such hints are given: "No route suggestions were found because the origin and destination are very close to each other." But when using the same POI location with "Use as Origin" and "Use as Destination" this is not detected by StadtNavi and questionable and strange routes (detours) are suggested.