Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4wd is preferring track "too much" #1967

Closed
2 tasks done
HarelM opened this issue Feb 1, 2024 · 9 comments
Closed
2 tasks done

4wd is preferring track "too much" #1967

HarelM opened this issue Feb 1, 2024 · 9 comments
Labels

Comments

@HarelM
Copy link
Member

HarelM commented Feb 1, 2024

What happened?

In the following route:
https://israelhiking.osm.org.il/share/IoepPEems4
Which I added points in order to show the order of the waypoints, the routing is deciding to use the tracks a bit "too" much according to some users, and I can relate to that:
image

What steps will reproduce the bug?

See the route above

What I expect to happen

It should use more paved roads than it does.

Platform

  • Israel Hiking Map app
  • Israel Hiking Map site in a browser

OS Name and Version

Any

Browser Name and Version

Any

Additional information

This is related to the following issue, see second comment about the change in routing.

@HarelM HarelM added the bug label Feb 1, 2024
@zstadler
Copy link
Member

zstadler commented Feb 1, 2024

דוגמה נוספת היא ניווט ג'יפים מבור קצינים לבורות לוץ
https://israelhiking.osm.org.il/share/bDe9QYww56

הדוגמה מעניינת בעייני כי יש בה גם בחירה במסלול שיורד למכתש רמון ועולה ממנו בעבירות קשה
image

ויש בה גם בחירה לירידות לדרכי עפר שמקבילות לכביש, בתחילת המסלול - בחלקו המערבי
image

במקרה זה, ההיתי מצפה שניווט הג'יפים ישתמש בכביש 171 מצמת הכבישים 40 ו-171 ועד הירידה מ 171 לשביל הכחול לבורות לוץ

@HarelM
Copy link
Member Author

HarelM commented Mar 17, 2024

Generally speaking there's conflict of interests between using the 4wd to plan a route that uses non paved roads and using paved roads.
In the past, there was a request for the routing to prefer tracks instead of roads (I can't find the facebook post unfortunately...).
I've changed the modifier to be x2 instead of x20 for the tracks, which moves most of the routing towards paved roads instead of tracks.
I personally don't use this navigation profile so my testing ability is limited.
If anyone would like to play with it to fine tune the values feel free to do so.

@HarelM HarelM closed this as completed in 7a96a8a Mar 17, 2024
@meliahu
Copy link

meliahu commented Mar 17, 2024

היי הראל,
אז אני לא בטוח שאני מבין מה אתה אומר.

היו כל מיני בקשות בעבר לתת העדפה לדרכי עפר ואז נתת לזה יחס גבוה ומאז האלגוריתם מתנהג באופן הנ"ל.
אם כך אני חושב שמי שביקש את הבקשה לא ממש הבין את ההשלכות.
כרגע התכנון עובד באופן מאוד לא אינטיאוטיבי.
לדעתי שווה להחזיר למצב של לפני השינוי @zstadler מה אתה חושב ?
משה

@HarelM
Copy link
Member Author

HarelM commented Mar 17, 2024

אני לא חושב שמי שביקש את הבקשה לא הבין את ההשלכות, אלא פשוט היו לו דרישות אחרות מלכם, וזה מה שכתבתי לגבי התנגשות בין הדרישות.
בכל מקרה, כרגע הכיוון הוא להחזיר את זה למצב דומה למצב המקורי, ואם בעתיד יהיו פניות להעדפה לדרכי עפר אקשר לקריאה הזו ואסביר שיש עם זה בעייתיות.
מקווה שזה יותר ברור עכשיו.

@meliahu
Copy link

meliahu commented Mar 17, 2024

מעולה,
תודה רבה.
(אולי יש מצב לחשוף משתנה למשתמש קצה משתנה שיוכל לשנות היחס המדובר ממש כמו שהוא משנה את סוג הניווט - רגלי, אופניים וכו ?)

@zstadler
Copy link
Member

עשיתי כיוונונים נוספים בפרופיל 4x4 והם זמינים עכשיו באתר ובאפליקציה.
ככל שבדקתי, יש איזון לא רע בין שימוש בכבישים לעומת שימוש בדרכי עפר.
הוספתי גם העדפה של שבילים מסומנים.

אם, @meliahu תמצא מקרים לשדעתך ניווט ג'יפים עדיין לא אינטואיטיבי, אנא שלח דוגמה עם המסלול המחושב, המסלול שלדעתך יותר אינטואיטיבי ולמה.

@HarelM
Copy link
Member Author

HarelM commented Mar 17, 2024

אין סיבה לחשוף למשתמש משהו כזה כשכל מה שצריך כדי להזיז מסלול זה לגרור אותו לאן שרוצים שהוא יעבור... זה מוסיף סיבוכיות בלי לתת ערך שמצדיק את הסיבוכיות.
אבל תודה על הרעיון! 😃

@Moshe81
Copy link

Moshe81 commented Mar 17, 2024

זה נראה יותר טוב, בדקתי את זה על אותם שתי מסלולים שגם היו בוידאו בפייסבוק https://www.facebook.com/groups/israelhikingmap/posts/7099780100077122/
אז לדוגמא הראשונה זה עבד טוב.
אבל בדוגמא השניה רואים שוב תכנון לא כלכך יעיל - https://israelhiking.osm.org.il/share/jyG7yPSBYa
המסלול הזה הוא רק משני נקודות, התחלה וסיום. ולכאורה היה אמור להעדיף את הקו הישר.
יכול להיות שאין נוסחה מנצחת. ובכל כיוונון מרויחים בצד אחד ומפסידים בצד השני
image

@zstadler
Copy link
Member

בדוגמה הזו לא מעורבות דרכי עפר ולכן זה לא קשור לניווט ג'יפים. זה הניווט שמתקבל גם עבור מכונית רגילה באתר Graphhopper

image

מדובר על נסיעה על כביש איטי לעומת נסיעה בכביש יותר מהיר ולכן היה שווה להוסיף 2 ק"מ ולהגיע יותר מהר.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants