[Script] WME Junction Angle Info

Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Moderators: Unholy, bextein, Glodenox, JustinS83

Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Re: [script] WME Junction Angle Info

Postby Arnoniem » Mon May 18, 2015 6:33 pm

milkboy wrote:New version (1.9.0) is out :geek: Anomalies and meltdowns may happen, so please report any findings that our testing didn't catch yet (either here on the forum or as a GH issue).

Big thanks to FZ69617 and wlodek76 for code contributions and everyone else for ideas.

Edit: typos

So, any chance of getting a uturn colour? :)

send from my SGS4, using Tapatalk
Global Champ BeNeLux Champs UAE Champs Android Beta Coordinator Middle East
CM:The Netherlands CM:U.A.E. CM:Oman CM:Thailand
[ img ]
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 2275
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 349 times
Been thanked: 611 times

Re: [script] WME Junction Angle Info

Postby FZ69617 » Tue May 19, 2015 8:17 pm

Arnoniem wrote:So, any chance of getting a uturn colour? :)

The feature is already developed and is waiting for merge into the official GH repo by @milkboy.

We'll likely use a violet color for the U-turn instructions in a default colors scheme:
[ img ]

If you are interested you may try a JAI development version that supports it.
FZ69617
Waze Local Champs
Waze Local Champs
 
Posts: 933
Joined: Fri Jul 25, 2014 9:29 am
Location: Zielona Góra, Poland
Has thanked: 36 times
Been thanked: 237 times

Re: [script] WME Junction Angle Info

Postby Arnoniem » Wed May 20, 2015 7:39 am

FZ69617 wrote:If you are interested you may try a JAI development version that supports it.

Excellent, thanks for implementing this. The angle is often hidden under the segments, so a dedicated colour helps a lot!
For people that think it doesn't work yet (like me in first instance), don't forget to disable the "old" Chrome extension ;)

EDIT: just noticed a 168.6 angle gets purple as well.
But on the angles I've done tests with, (without checking the first decimal), a 169 angle still gave a turn left. A 170 degr was a uturn prompt.
Global Champ BeNeLux Champs UAE Champs Android Beta Coordinator Middle East
CM:The Netherlands CM:U.A.E. CM:Oman CM:Thailand
[ img ]
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 2275
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 349 times
Been thanked: 611 times

Re: [script] WME Junction Angle Info

Postby FZ69617 » Wed May 20, 2015 11:50 am

Arnoniem wrote:just noticed a 168.6 angle gets purple as well.
But on the angles I've done tests with, (without checking the first decimal), a 169 angle still gave a turn left. A 170 degr was a uturn prompt.

The u-turn angle in use currently is 168.24 with a "gray zone" ±0.2 degrees.
These values are based on my multiple map experiments performed last week.

The recent series of these experiments is still on the map and all examples matches the current values:
[ img ]
The anomalies - which were a basis for a gray (in fact yellow ;) ) zone approximation - has been observed so far just for the two unselected examples in the above picture.

Could you post the permalinks to examples you mention that violates current rules?
Together we can find better approximation of a u-turn and/or a gray zone angles.
FZ69617
Waze Local Champs
Waze Local Champs
 
Posts: 933
Joined: Fri Jul 25, 2014 9:29 am
Location: Zielona Góra, Poland
Has thanked: 36 times
Been thanked: 237 times

Re: [script] WME Junction Angle Info

Postby Arnoniem » Wed May 20, 2015 11:55 am

Did you actually navigate and get a uturn prompt at 168.5 degr?


send from my SGS4, using Tapatalk
Global Champ BeNeLux Champs UAE Champs Android Beta Coordinator Middle East
CM:The Netherlands CM:U.A.E. CM:Oman CM:Thailand
[ img ]
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 2275
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 349 times
Been thanked: 611 times

Re: [script] WME Junction Angle Info

Postby FZ69617 » Wed May 20, 2015 12:35 pm

Arnoniem wrote:Did you actually navigate and get a uturn prompt at 168.5 degr?

Sure, see the route going through this segment with a u-turn prompt at 168.47 degrees:
[ img ]
FZ69617
Waze Local Champs
Waze Local Champs
 
Posts: 933
Joined: Fri Jul 25, 2014 9:29 am
Location: Zielona Góra, Poland
Has thanked: 36 times
Been thanked: 237 times

Re: [script] WME Junction Angle Info

Postby Arnoniem » Wed May 20, 2015 1:13 pm

FZ69617 wrote:
Arnoniem wrote:Did you actually navigate and get a uturn prompt at 168.5 degr?

Sure, see the route going through this segment with a u-turn prompt at 168.47 degrees:
[ img ]

ok, that looks different from my experience.
When it was first introduced I set up some different angles where I drive to work. testing in the app showed 169 didnt work, 170 did. Livemap routing did not have uturns enabled then. After that I didn't perfom any tests on angles lower then 170. I guess waze is still "improving" it.
Global Champ BeNeLux Champs UAE Champs Android Beta Coordinator Middle East
CM:The Netherlands CM:U.A.E. CM:Oman CM:Thailand
[ img ]
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 2275
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 349 times
Been thanked: 611 times

Re: [script] WME Junction Angle Info

Postby voludu2 » Wed May 20, 2015 8:02 pm

I have been very much enjoying the new turn instruction prediction in JAI. I found a case where JAI does not reach the same conclusion on BC as the mobile app or route checker:

https://www.waze.com/editor/?env=usa&lo ... 8,75487051

Waze announced "stay to the right" because Sin Name matches Sout name and also S1 alt name.
bb.jpg
"straight on" is "stay to right" because of alt name match
(151.76 KiB) Downloaded 1259 times


JAI does not catch on to this.
bb1.jpg
JAI sees the "straight on" as Best Continuation.
(139.17 KiB) Downloaded 1255 times
[ img ]
[ img ]
USA Northeast Region Discord Chat
State Manager - Pennsylvania
Country Manager - USA and Thailand
Wiki Master, Global Mentor
utilitas, simplicitas, retentionis
voludu2
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 3071
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 797 times
Been thanked: 1239 times

Re: [script] WME Junction Angle Info

Postby PesachZ » Wed May 20, 2015 8:37 pm

voludu2 wrote:I have been very much enjoying the new turn instruction prediction in JAI. I found a case where JAI does not reach the same conclusion on BC as the mobile app or route checker:

https://www.waze.com/editor/?env=usa&lo ... 8,75487051

Waze announced "stay to the right" because Sin Name matches Sout name and also S1 alt name.
bb.jpg


JAI does not catch on to this.
bb1.jpg


Thanks for posting. This is line with the recently announced changes to the BC algorithm. The algorithm is being simplified so any name (primary or alternate) is given equal weight.

Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
 
Posts: 4512
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC}
Has thanked: 1998 times
Been thanked: 2369 times

Re: [script] WME Junction Angle Info

Postby FZ69617 » Thu May 21, 2015 5:05 pm

voludu2 wrote:I found a case where JAI does not reach the same conclusion on BC as the mobile app or route checker:

https://www.waze.com/editor/?env=usa&lo ... 8,75487051

JAI does not catch on to this.

Thanks for finding this.

You may try another JAI development version that correctly handles this case.

The changes in the routing instruction estimation algorithm still requires further testing (all implemented conditions are rather my guessing than knowledge :) ), but all the cases tested so far looks promising. :D
FZ69617
Waze Local Champs
Waze Local Champs
 
Posts: 933
Joined: Fri Jul 25, 2014 9:29 am
Location: Zielona Góra, Poland
Has thanked: 36 times
Been thanked: 237 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: Google Feedfetcher, Mythdraug, RichardPyne, tonestertm