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.
Post by seb-d59
SuperDave1426 wrote:For what it's worth, Toolbox already has an option to flag junctions where a TTS Override is in place. It won't show you what the actual override *is* ("keep left" vs "turn left," etc.), you still have to click on a segment and then pick the arrow to see what the override is. But at least with it set, you can know that it's there.
That, I know, but it's too heavy and too long ...
SuperDave1426 wrote:Not as convenient as it would be if JAI would modify its color to show the actual instruction that's going to be given, but at least it flags them for you.
We agree and, it is much faster and easier to find this kind of errors... ;)
Overrides.jpg
OverridesError1
(13.05 KiB) Downloaded 1028 times
Or This
override.jpg
OverridesError2
(10.5 KiB) Downloaded 1026 times
SuperDave1426 wrote:Hopefully, JAI will get something soon... :-)
Done! :)

I just finished updating JAI, to take into account the "overrides instruction".
Of course, I added a checkbox, on the JAI tab, to leave the choice.
CheckOverride.jpg
CheckBox
(5.19 KiB) Downloaded 1029 times
I also included the French translation and the translation "Latin-American Spanish" from witoco.

http://seb.d59.free.fr/Script/WME_Junct ... .1.user.js
@milkboy: you can publish on your github for all other users.

PS: Sorry, I'm not able to translate "Check override instruction" in other languages supported by JAI:
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
Currently, the official version is v1.13 so, i published the link to my version v1.13.1

Sorry but, i don't have any access to milkboy's account...
I hope a update by milkboy... :)

FYI: i have send him a private message
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
Arnoniem wrote:Could you make it stand out a bit more? Change the outline of the circle from black to orange or something? So it's clear which ball shows the instruction override?
Thanks!
it's possible ;)

Like this
Override2.jpg
OverridesWithAngle
(6.68 KiB) Downloaded 1482 times
Or like this
Override3.jpg
OverridesWithoutAngle
(6.38 KiB) Downloaded 1454 times
simply with this checkBox:
CheckBox.jpg
Show_Angles_Of_Override_instruction
(3.86 KiB) Downloaded 1458 times
if you want, my version v1.13.11 (2017/11) is here :
http://seb.d59.free.fr/Script/WME_Junct ... le.user.js
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message
Last edited by seb-d59 on Wed Nov 22, 2017 7:58 pm, edited 4 times in total.

seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
v1.13.4: fix the layer switcher in WME Prod / beta and create a "scripts switcher" if not exist.

http://seb.d59.free.fr/Script/WME_Junct ... le.user.js

@crazycaveman: can you update GitHub please?
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
crazycaveman wrote: Here you go, just click the "Raw" button to install. I forked milkboy's repository on GitHub and downloaded seb's updated version.
This is the last version uploaded by crazycaveman on GitHub
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
Instruction Override Continue prompt = outline colour: orange ; background: White; with arrow icon

Instruction Override No Instruction prompt = outline colour: orange ; background: White; without arrow icon


I do not see where the conflict is.

It should not be forgotten that white is the default color for straight instruction or no instruction.
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
sketch wrote:I would recommend changing your "direction arrows" setting. To be honest I don't know why the first four options even exist. With a 'continue' they are misleading for sure. At least, there should be an 'up arrow' or carat ^ for continue with the first four options, if people like <> for exit/keep for some reason.

For the moment, is the best solution ;)

The problem:

Code: Select all

angleDisplayArrows: { elementType: "select", elementId: "_jaSelAngleDisplayArrows", defaultValue: "<>", options: ["<>", "⇦⇨", "⇐⇒", "←→", "⇐⇒⇖⇗⇑", "←→↖↗↑"]},	

Code: Select all

	var ja_arrow = {
		get: function(at) {
			var arrows = ja_getOption("angleDisplayArrows");
			return arrows[at % arrows.length];
		},
		left: function() { return this.get(0); },
		right: function() { return this.get(1); },
		left_up: function() { return this.get(2); },
		right_up: function() { return this.get(3); },
		up: function() { return this.get(4); }
	};
When I implemented the overrides, I simply added these two symbols: ⇑ ↑
And I had not tested the first 4 set of symbols :oops:

I think of a better way to do ...
Maybe just delete the first 4 set of symbols ?

Sorry, but I'm not the original author. ;)
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
Or do this :

Code: Select all

angleDisplayArrows: { elementType: "select", elementId: "_jaSelAngleDisplayArrows", defaultValue: "<>", options: ["<><>^", "⇦⇨⇦⇨⇧", "⇐⇒⇐⇒⇑", "←→←→↑", "⇐⇒⇖⇗⇑", "←→↖↗↑"]},
JAI.png
(6.72 KiB) Downloaded 531 times
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
Hello,

I don't see the problem on WME and I am not in the secret of the guiding algorithm ...
But I can increase the "GRAY_ZONE" (yellow color) in relation to this instability.

I think we can adjust it to 1

FYI, in JAI, we have these value:

Code: Select all

var TURN_ANGLE = 45.04;			//Turn vs. keep angle specified in Wiki.
var U_TURN_ANGLE = 168.24;		//U-Turn angle based on map experiments.
var GRAY_ZONE = 0.5;			//Gray zone angle intended to prevent from irregularities observed on map.
var OVERLAPPING_ANGLE = 0.666;	//Experimentally measured overlapping angle.
	
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message