[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

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 » Tue Jun 30, 2015 12:19 pm

I've changed my test set up, with diff names, and diff names+ street-to-primary

EDIT: i did test that on a 3-segment uturn, and that didn't have any effect. ;)
Global Champ BeNeLux Champs UAE Champs Android Beta Coordinator Middle East
CM:The Netherlands CM:U.A.E. CM:Oman CM:Thailand
Image
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 4454
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 317 times
Been thanked: 580 times

Re: [script] WME Junction Angle Info

Postby Arnoniem » Tue Jun 30, 2015 11:58 am

Timbones wrote:
PesachZ wrote:Can you please list the criteria as you know it for the algorithm to generate this 2 segment uturn prompt, I will try to incorporate it into the algorithm and flowchart in the wiki.

Do we know yet whether this prompt takes into account the segment name, the directionality, and whether it's a right-hand or left-hand drive country? I can think of some scenarios where it would be undesirable to have a U-turn instruction, and we should take this up with Waze if this is the case.

Don't know exactly. In the situations I've tested both segments had the same properties. The Uturn prompt was given in both directions, so a left and right uturn.
Do you have a specific construction in mind, where this would cause problems? It's quite an extreme angle, so hard to create that NOT on purpose...
Global Champ BeNeLux Champs UAE Champs Android Beta Coordinator Middle East
CM:The Netherlands CM:U.A.E. CM:Oman CM:Thailand
Image
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 4454
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 317 times
Been thanked: 580 times

Re: [script] WME Junction Angle Info

Postby Arnoniem » Tue Jun 30, 2015 11:53 am

FZ69617 wrote:
Arnoniem wrote:I just noticed one of my tests showing a "turn left" at the 168.45 angle. It could be the bug that gives a left instead of uturn, but I don't think so, since the livemap gives the same result. Have a look here:
https://www.waze.com/editor/?env=row&lo ... ,274372422

Thanks for finding this another anomaly.
Foreseeing other unknown cases the gray zone has been extended into 1 degree (i.e. 168.24 ± 0.5).
Thank you Arnoniem for the reports.


The first one, still gives a turn left, on the livemap, @168.91 degr.
Global Champ BeNeLux Champs UAE Champs Android Beta Coordinator Middle East
CM:The Netherlands CM:U.A.E. CM:Oman CM:Thailand
Image
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 4454
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 317 times
Been thanked: 580 times

Re: [script] WME Junction Angle Info

Postby Arnoniem » Wed May 27, 2015 1:21 pm

Olestas wrote:What is this construction for? :D

It's my private testing area

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
Image
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 4454
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 317 times
Been thanked: 580 times

Re: [script] WME Junction Angle Info

Postby Arnoniem » Wed May 27, 2015 11:34 am

Oh, and i noticed another thing:
On a 2 segment uturn at 170degr+, JAI gives a Best continuation, however the actual instruction is also a uturn:
https://www.waze.com/editor/?env=row&lo ... =280755690
Global Champ BeNeLux Champs UAE Champs Android Beta Coordinator Middle East
CM:The Netherlands CM:U.A.E. CM:Oman CM:Thailand
Image
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 4454
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 317 times
Been thanked: 580 times

Re: [script] WME Junction Angle Info

Postby Arnoniem » Wed May 27, 2015 11:30 am

FZ69617 wrote: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.

I just noticed one of my tests showing a "turn left" at the 168.45 angle. It could be the bug that gives a left instead of uturn, but I don't think so, since the livemap gives the same result. Have a look here:
https://www.waze.com/editor/?env=row&lo ... ,274372422
Global Champ BeNeLux Champs UAE Champs Android Beta Coordinator Middle East
CM:The Netherlands CM:U.A.E. CM:Oman CM:Thailand
Image
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 4454
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 317 times
Been thanked: 580 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:
Image

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
Image
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 4454
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 317 times
Been thanked: 580 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
Image
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 4454
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 317 times
Been thanked: 580 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
Image
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 4454
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 317 times
Been thanked: 580 times

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
Image
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 4454
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 317 times
Been thanked: 580 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: MapOMatic