[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 WazingArch » Mon Feb 19, 2018 7:43 am

seb-d59 wrote:
WazingArch wrote:May I suggest the following improvement to the script if you find it appropriate. I think it'd be helpful the script to fade away the info bubbles when arrows are faded away. Thus in certain cases, the info bubbles won't block visibility the same way as arrows.


For the grey bubbles?
With a check box, why not ... For let the choice to the editor;)

For all the bubbles that show directions and degrees.
Coordinator • Local Champ • Translator
Image
Уики България | Best map editing practice
WazingArch
Coordinators
Coordinators
 
Posts: 365
Joined: Thu May 24, 2012 6:02 am
Location: Bulgaria
Has thanked: 167 times
Been thanked: 64 times

Re: [Script] WME Junction Angle Info

Postby WazingArch » Sun Feb 18, 2018 8:07 am

May I suggest the following improvement to the script if you find it appropriate. I think it'd be helpful the script to fade away the info bubbles when arrows are faded away. Thus in certain cases, the info bubbles won't block visibility the same way as arrows.
Coordinator • Local Champ • Translator
Image
Уики България | Best map editing practice
WazingArch
Coordinators
Coordinators
 
Posts: 365
Joined: Thu May 24, 2012 6:02 am
Location: Bulgaria
Has thanked: 167 times
Been thanked: 64 times

Re: [Script] WME Junction Angle Info

Postby WazingArch » Mon Sep 04, 2017 7:28 am

Hello, I would like to report a wrongly estimated instruction. Recently WME started reporting "Keep left", while JAI gives "Turn left". Can you check what's going on? Here is permalink
Coordinator • Local Champ • Translator
Image
Уики България | Best map editing practice
WazingArch
Coordinators
Coordinators
 
Posts: 365
Joined: Thu May 24, 2012 6:02 am
Location: Bulgaria
Has thanked: 167 times
Been thanked: 64 times

Re: [Script] WME Junction Angle Info

Postby voludu2 » Fri Nov 17, 2017 12:42 pm

sh-oded wrote:If JAI is loaded with tampemonkey (chrome) there is no angle info in prod-WME. In beta-WME it is ok.
If JAI is loaded as a chrome extension, there is angle info in both prod & beta WME.

Still, there is no angle info for roundabouts.

I am also seeing this problem.
* Chrome 62.0.3202.94
* JAI 1.13.10
* No other WME-related scripts running, either in Tampermonkey or as extensions
* Roundabouts are not highlighted in prod or in beta
* In prod, no Junction Angle Information is shown
* In beta, Junction Angle information is shown
* In beta, I get no console errors from JAI

Here is the console error message in prod this error message happens twice on load, with no segment selected. It happens once again each time I select or unselect a segment, whether 1 or 2 junction notdes are visible on screen.
Code: Select all
Uncaught TypeError: Cannot read property 'forEach' of undefined          VM851:1407
    at <anonymous>:1407:19
    at Array.forEach (<anonymous>)
    at ja_draw_roundabout_overlay (<anonymous>:1404:50)
    at ja_calculate_real (<anonymous>:784:4)
    at applyJAOptions (<anonymous>:2105:3)
    at junctionangle_init (<anonymous>:430:3)
    at <anonymous>:2610:6p

ImageUSA 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: 2734
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 647 times
Been thanked: 1031 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
bb.jpg (151.76 KiB) Viewed 1213 times


JAI does not catch on to this.
bb1.jpg
JAI sees the "straight on" as Best Continuation.
bb1.jpg (139.17 KiB) Viewed 1210 times

ImageUSA 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: 2734
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 647 times
Been thanked: 1031 times

Re: [script] WME Junction Angle Info

Postby voludu2 » Mon Apr 13, 2015 5:41 pm

why yes it is. I guess it is bleed-through from the green route.

I'm amending my post above for clarity.
Thank you.

ImageUSA 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: 2734
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 647 times
Been thanked: 1031 times

Re: [script] WME Junction Angle Info

Postby voludu2 » Mon Apr 13, 2015 4:55 pm

Here, the UR shows that Waze gave no instruction where JAI predicted "keep left"
https://www.waze.com/editor/?env=usa&lo ... st=4270084

Here is the detail from the UR -- no instructions
Image

Detail from route checker also shows no "keep left" at this point in the purple route.
A "keep right" arrow is visible from the green route.
Image
Last edited by voludu2 on Tue Apr 14, 2015 11:57 am, edited 2 times in total.

ImageUSA 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: 2734
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 647 times
Been thanked: 1031 times

Re: [script] WME Junction Angle Info

Postby voludu2 » Tue Feb 03, 2015 12:44 pm

Thanks!
I see that the problematic tampermonkey script is old.

In order to keep all the information about where to get the script in one place, where you can get help maintaining it, please consider simply pointing to the wiki page.

In any case, please update your forum post telling users where to get the script:
https://www.waze.com/forum/viewtopic.ph ... 50#p735439

I have just updated the wiki page:
https://wiki.waze.com/wiki/index.php?ti ... ldid=93375

Now I will get a couple of updates and test for you :) thanks.

__________________________________
I manually updated and tested in Chrom both with and without tampermonkey. The JAI tab now seems to work for me no matter whether you start WME naked or with a segment, place, or node selected.

Thanks!

ImageUSA 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: 2734
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 647 times
Been thanked: 1031 times

Re: [script] WME Junction Angle Info

Postby voludu2 » Tue Feb 03, 2015 5:28 am

Right. Usually, I see all that stuff. But if I start WME from a permalink, Clicking onJAI doesn't open up the JAI settings. The tab area just stays in whatever tab it epwas on before I clocked the JAI tab.

Reset to defaults just turns the JAI settings back to what they were. So if I had been using pink for turns, it goes back to that pale lime.

ImageUSA 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: 2734
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 647 times
Been thanked: 1031 times

Re: [script] WME Junction Angle Info

Postby voludu2 » Mon Feb 02, 2015 6:02 pm

Oh where are my manners?

Hello milkboy -- junction angles information is so brilliant is has become essential. Thank you.

This new enhancement seems very promising and I am looking forward to seeing the bugs worked out of it.

ImageUSA 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: 2734
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 647 times
Been thanked: 1031 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: abusimbel16, Baidu [Spider], ClerioAlves, Glodenox, JDraaijer, okladriver