[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 PesachZ » Tue Apr 14, 2015 6:39 am

Olestas wrote:https://www.waze.com/editor/?env=row&lon=24.12078&lat=56.94807&layers=1477&zoom=9&segments=272633729,102806274

This form gives Keep Left in reality. JAI does not detect this.. can something be done? ACtually now it is pretty hard in some cases to predict how will it sound..

There is an algorithm in the wiki

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

Re: [script] WME Junction Angle Info

Postby Olestas » Tue Apr 14, 2015 7:07 am

Algorythm does not help in difficult situations.
[ img ][ img ][ img ][ img ]

GC: Latvia
Coordinator: Latvia
Country manager (Full coverage): Latvia/Lithuania/Belarus/Russia/Ukraine
Olestas
Coordinators
Coordinators
 
Posts: 6359
Joined: Wed Mar 09, 2011 7:08 pm
Location: Latvia
Has thanked: 3482 times
Been thanked: 2366 times

Re: [script] WME Junction Angle Info

Postby PesachZ » Tue Apr 14, 2015 7:08 am

Olestas wrote:Algorythm does not help in difficult situations.

If you have a specific example I can try to help.

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

Re: [script] WME Junction Angle Info

Postby james890526 » Tue Apr 14, 2015 7:13 am

Olestas wrote:Algorythm does not help in difficult situations.


I find the Flow Chart in the wiki very useful though. It helps train editors to be more independent than relying on scripts to "predict" a certain voice prompt :)
Best regards,
Zhong Zhen (james890526)

[ img ][ img ][ img ][ img ]

Waze Malaysia [ img ] [ img ]
james890526
Waze Local Champs
Waze Local Champs
 
Posts: 230
Joined: Sun Jun 22, 2014 7:00 pm
Has thanked: 52 times
Been thanked: 36 times

Re: [script] WME Junction Angle Info

Postby Olestas » Tue Apr 14, 2015 7:34 am

PesachZ wrote:
Olestas wrote:Algorythm does not help in difficult situations.

If you have a specific example I can try to help.

Sent using Tapatalk for Android 4.4.2


Hmm.. I have tried different configurations, but failed all the time.

Needs to be:
1. Keep right, major.
https://www.waze.com/editor/?env=row&lo ... 5,79495519

2. Continue straight (best continuation)
https://www.waze.com/editor/?env=row&lo ... ,271798926
[ img ][ img ][ img ][ img ]

GC: Latvia
Coordinator: Latvia
Country manager (Full coverage): Latvia/Lithuania/Belarus/Russia/Ukraine
Olestas
Coordinators
Coordinators
 
Posts: 6359
Joined: Wed Mar 09, 2011 7:08 pm
Location: Latvia
Has thanked: 3482 times
Been thanked: 2366 times

Re: [script] WME Junction Angle Info

Postby PesachZ » Tue Apr 14, 2015 7:53 am

Olestas wrote:
PesachZ wrote:
Olestas wrote:Algorythm does not help in difficult situations.

If you have a specific example I can try to help.

Sent using Tapatalk for Android 4.4.2


Hmm.. I have tried different configurations, but failed all the time.

Needs to be:
1. Keep right, major.
https://www.waze.com/editor/?env=row&lo ... 5,79495519

2. Continue straight (best continuation)
https://www.waze.com/editor/?env=row&lo ... ,271798926

What you need is a variation of a wayfinder. Since the right branch of the fork has the same Primary name, Alt name, and Road type, and the left side has none of the above, the right side is considered the best continuation. To change this you must fool the server, we do that with wayfinders. But we'll modify the way finder to give you the continuation on the left.

You'll need to add a new junction node just north of the existing junction, one on each branch.
For the right branch the new node can be at the geometry point.
For the left branch the new node should be exactly 5 meters north of the fork.
This will create a small stub segment at the begining of each branch which we can manipulate without affecting map appearance.

Change the stub on the right to remove both names (make it a no name segment).

Change the Stub on the left to be MH, and add an alt name of A10 to match the segment south of the fork.

---
In this setup the left side is now the same type, and has a cross matching alt name.
The right side is only a type match. The server looking at this will assume the left is BC, and give no instructions there. The right side will get a keep right to A10 because of name inheritance.

If you run into any problems I can assist to look into it.

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

Re: [script] WME Junction Angle Info

Postby milkboy » Tue Apr 14, 2015 8:29 am

milkboy wrote:
qwaletee wrote:Request #1: Can we have the 1a/1b/1c orange circles display the angle of departure in addition to or instead of the standard angle? I often find myself selecting multiple segments just to be able to get this number without having to subtract from 180 in my head.

Very much doable

Something like this?
Attachments
absolute_vs_departure.jpg
(29.98 KiB) Downloaded 433 times
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[ img ][ img ][ img ][ img ]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 [ img ]
milkboy
Map Editor - level 3
Map Editor - level 3
 
Posts: 107
Joined: Thu Jun 09, 2011 6:24 am
Location: Europe/Finland/Helsinki
Has thanked: 11 times
Been thanked: 123 times

Re: [script] WME Junction Angle Info

Postby PesachZ » Tue Apr 14, 2015 8:53 am

milkboy wrote:
milkboy wrote:
qwaletee wrote:Request #1: Can we have the 1a/1b/1c orange circles display the angle of departure in addition to or instead of the standard angle? I often find myself selecting multiple segments just to be able to get this number without having to subtract from 180 in my head.

Very much doable

Something like this?

If I understood correctly he was asking for the angles to be drawn on the segments they apply to like this.
2015-04-14 04.52.29.png


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

Re: [script] WME Junction Angle Info

Postby FZ69617 » Tue Apr 14, 2015 9:17 am

Olestas wrote:https://www.waze.com/editor/?env=row&lon=24.12078&lat=56.94807&layers=1477&zoom=9&segments=272633729,102806274

This form gives Keep Left in reality. JAI does not detect this.. can something be done? ACtually now it is pretty hard in some cases to predict how will it sound..

Try with JAI version 1.8.1:
https://greasyfork.org/en/scripts/9192- ... angle-info
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 Olestas » Tue Apr 14, 2015 9:56 am

PesachZ wrote:You'll need to add a new junction node just north ...


Thanks, forgot about additionals nodes, but wanted to go without them. Will try that.
[ img ][ img ][ img ][ img ]

GC: Latvia
Coordinator: Latvia
Country manager (Full coverage): Latvia/Lithuania/Belarus/Russia/Ukraine
Olestas
Coordinators
Coordinators
 
Posts: 6359
Joined: Wed Mar 09, 2011 7:08 pm
Location: Latvia
Has thanked: 3482 times
Been thanked: 2366 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: mudge42