Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
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 olepinto
seb-d59 wrote:
dchary2418 wrote:It's not working for me, I verified the settings and I made it the only script running.
Have you the JAI checkbox in the layer menu ?
I lost the JAI indications some time ago. My problem is, I don't have any "Scripts > JAI" in the layer table, so I can't set it.

Could it be related to lower level (mine is 2) being unable to see those layers?
olepinto
Posts: 408
Has thanked: 33 times
Been thanked: 74 times
Send a message

Post by olepinto
RussPA wrote:
olepinto wrote:I lost the JAI indications some time ago. My problem is, I don't have any "Scripts > JAI" in the layer table, so I can't set it.

Could it be related to lower level (mine is 2) being unable to see those layers?
AFAIK JAI isn't rank locked in any way. You're using v2.0.8? Any console errors relating to JAI? Do you see the JAI tab in the left pane?
2.0.8 of what? Latest JAI revision I've found is 1.13.1 (1.10 no github).

The JAI tab on the left seems to work correctly. What I'm missing (and maybe associating at the editor level) is the Scripts block on the right (layers).

On the console I've found

Code: Select all

Uncaught TypeError: Cannot read property 'length' of undefined
    at ja_calculate_real (<anonymous>:655:50)
    at applyJAOptions (<anonymous>:1909:3)
    at junctionangle_init (<anonymous>:348:3)
    at <anonymous>:2292:6
olepinto
Posts: 408
Has thanked: 33 times
Been thanked: 74 times
Send a message

Post by olepinto
Kartografer wrote:You have an old version. Go to the first post on this thread and click the link from there. It says the latest version is 2.0.7, but it is actually 2.0.8 now.
Jai, that was it!

At the top of these messages it reads "The official index of these tools is the Community Plugins, Extensions and Tools wiki page". That page is in the Wazeopedia, which takes you to a list of scripts among which you can find the old JAI.
I can't edit it, can't login. Maybe it needs a different user/pass, or it's just "closed", as it says it's deprecated.
I've found a "new" Wazeopedia, but I can't find a way to edit pages.
olepinto
Posts: 408
Has thanked: 33 times
Been thanked: 74 times
Send a message

Post by Olestas
JAI does not take into account street names or types for routing instructions predictions. Can this be fixed?
For example this makes keep left instruction https://www.waze.com/editor/?env=row&lo ... ,260590903
But JAI shows it as Best continuation.
And this one is the best continution https://www.waze.com/editor/?env=row&lo ... ,271797544
not keep right.
Olestas
Waze Global Champs
Waze Global Champs
Posts: 6664
Has thanked: 1560 times
Been thanked: 1109 times
Send a message

Post by Olestas
So.. in real life it works :D Can you make JAI detect instructions here based on angles?
Olestas
Waze Global Champs
Waze Global Champs
Posts: 6664
Has thanked: 1560 times
Been thanked: 1109 times
Send a message

Post by Olestas
https://www.waze.com/editor/?env=row&lo ... ,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..
Olestas
Waze Global Champs
Waze Global Champs
Posts: 6664
Has thanked: 1560 times
Been thanked: 1109 times
Send a message

Post by Olestas
Algorythm does not help in difficult situations.
Olestas
Waze Global Champs
Waze Global Champs
Posts: 6664
Has thanked: 1560 times
Been thanked: 1109 times
Send a message

Post by Olestas
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
Olestas
Waze Global Champs
Waze Global Champs
Posts: 6664
Has thanked: 1560 times
Been thanked: 1109 times
Send a message

Post by Olestas
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.
Olestas
Waze Global Champs
Waze Global Champs
Posts: 6664
Has thanked: 1560 times
Been thanked: 1109 times
Send a message

Post by Olestas
FZ69617 wrote:
Olestas wrote:https://www.waze.com/editor/?env=row&lo ... ,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
Hmm.. it shows as keep when loading permalink. But after moving map and checking again, it shows best continuation.
Olestas
Waze Global Champs
Waze Global Champs
Posts: 6664
Has thanked: 1560 times
Been thanked: 1109 times
Send a message