[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 Olestas » Tue May 24, 2016 7:41 am

Works for me.. but I have 1.11
Try this
https://greasyfork.org/en/scripts/7887- ... angle-info
Olestas
Coordinators
Coordinators
 
Posts: 5677
Joined: Wed Mar 09, 2011 7:08 pm
Location: Latvia
Has thanked: 2712 times
Been thanked: 2020 times

Re: [Script] WME Junction Angle Info

Postby zackman0010 » Tue May 24, 2016 6:07 am

JAI does not work for me either, Chrome as well. No amount of refreshing is bringing it up.
zackman0010
 
Posts: 6
Joined: Thu Mar 17, 2016 5:05 am
Location: Mississippi State, MS
Has thanked: 3 times
Been thanked: 1 time

Re: [Script] WME Junction Angle Info

Postby AquaZR1 » Tue May 24, 2016 3:52 am

It's been working off and on for me in Chrome today. Sometimes I have to reload the page to get the junction info to show.
AquaZR1
Area Manager
Area Manager
 
Posts: 178
Joined: Thu Apr 09, 2015 11:05 pm
Location: Bakersfield, CA
Has thanked: 107 times
Been thanked: 41 times

Re: [Script] WME Junction Angle Info

Postby taco909 » Tue May 24, 2016 3:24 am

Seems to be working okay here on Firefox
taco909
Map Editor - Level 4
Map Editor - Level 4
 
Posts: 2230
Joined: Sun Jun 01, 2014 4:05 am
Location: Los Angeles Area
Has thanked: 720 times
Been thanked: 641 times

Re: [Script] WME Junction Angle Info

Postby iainhouse » Mon May 23, 2016 11:37 pm

It looks like JAI may have been hit by the latest WME update. I'm seeing no functionality at all from the script.

I'm seeing this in the console:
Code: Select all
VM2448:122 Uncaught TypeError: Cannot read property 'on' of undefined
   junctionangle_init @ VM2448:122
   (anonymous function) @ VM2448:2198

And the debugger takes me to this statement at line 122:
Code: Select all
      window.Waze.model.segments.events.on({
         "objectschanged": ja_calculate,
         "objectsremoved": ja_calculate
      });

Line 2198 is the call to junctionangle_init.

I'm using development version 1.12
iainhouse
Country Manager
Country Manager
 
Posts: 7852
Joined: Mon Jul 23, 2012 5:16 pm
Location: on the road from London to insanity
Has thanked: 1559 times
Been thanked: 5247 times

Re: [Script] WME Junction Angle Info

Postby PesachZ » Mon Apr 25, 2016 12:25 pm

GuibaBR wrote:Was there any changes to TTS calculation not shown in WME Junction Angle Info? (see below)

[ img ]

[ img ]

PL: https://www.waze.com/pt-BR/editor/?env= ... =154104010

Not one which I have surgically noticed. However the turn angle on the right branch there is 43° which is still very close to 45°. I always recommend to editors to leave a 5-10° buffer for turn angles (meaning don't use angles between 35°-55°, or at least 40°-50°) just to be safe. It is possible that due to the method for calculating angles, and distance the threshold could change slightly in different parts of the globe as well.

Sent from Android using Tapatalk
PesachZ
Wiki Master
Wiki Master
 
Posts: 4401
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC} {ARC}
Has thanked: 1992 times
Been thanked: 2235 times

Re: [Script] WME Junction Angle Info

Postby GuibaBR » Mon Apr 25, 2016 12:26 am

Was there any changes to TTS calculation not shown in WME Junction Angle Info? (see below)

[ img ]

[ img ]

PL: https://www.waze.com/pt-BR/editor/?env= ... =154104010
GuibaBR
Beta tester
Beta tester
 
Posts: 479
Joined: Sat Jul 23, 2011 9:25 pm
Location: Campinas/SP, Brazil
Has thanked: 489 times
Been thanked: 276 times

Re: [Script] WME Junction Angle Info

Postby turbomkt » Fri Mar 04, 2016 6:05 am

taco909 wrote:95 + 75 is 170
But I see what you mean.

The angle is displayed differently when you select two segments vs one segment.
The turn angle is obviously over 90 degrees, yet is displayed as 75 rather than 104.


That's the key. The 105 degrees when individually selected shows as 75 when part of multiple selected segments and the 85 degrees individually is shown as 95. In the end it's still accurate to determine +/- 5 degrees for u-turns, but it threw me for a loop.
turbomkt
Waze Mentor
Waze Mentor
 
Posts: 321
Joined: Thu Jan 22, 2015 1:05 am
Location: San Diego, Ca
Has thanked: 175 times
Been thanked: 73 times

Re: [Script] WME Junction Angle Info

Postby taco909 » Fri Mar 04, 2016 5:53 am

95 + 75 is 170
But I see what you mean.

The angle is displayed differently when you select two segments vs one segment.
The turn angle is obviously over 90 degrees, yet is displayed as 75 rather than 104.
taco909
Map Editor - Level 4
Map Editor - Level 4
 
Posts: 2230
Joined: Sun Jun 01, 2014 4:05 am
Location: Los Angeles Area
Has thanked: 720 times
Been thanked: 641 times

Re: [Script] WME Junction Angle Info

Postby turbomkt » Thu Mar 03, 2016 11:55 pm

Can someone corroborate something for me? On an H intersection, if I select the cross segment it shows the inside angles for all of the segments connected. When I select the three segments that make up a u-turn it looks like JAI calculates the angles for the three segments wrong. Is anyone seeing the same?

By my math the interior angles should be 190, JAI says 170.
https://www.waze.com/editor/?env=usa&lo ... ueFilter=1

Or I could be looking at this all wrong...
turbomkt
Waze Mentor
Waze Mentor
 
Posts: 321
Joined: Thu Jan 22, 2015 1:05 am
Location: San Diego, Ca
Has thanked: 175 times
Been thanked: 73 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: No registered users