[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.

Moderator: Unholy

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 CBenson » Wed Nov 06, 2013 5:38 pm

Its still working for me.
Regional Coordinator: Mid-Altantic, US
Verizon, Droid Turbo, Android 4.4.4, Waze 3.9.4.0
CBenson
Waze Global Champs
Waze Global Champs
 
Posts: 9032
Joined: Wed Nov 03, 2010 9:13 pm
Location: Crownsville, MD, US
Has thanked: 747 times
Been thanked: 1815 times

Re: [script] WME Junction Angle Info

Postby CBenson » Mon Apr 14, 2014 11:20 am

There are. Some are discussed here.
Regional Coordinator: Mid-Altantic, US
Verizon, Droid Turbo, Android 4.4.4, Waze 3.9.4.0
CBenson
Waze Global Champs
Waze Global Champs
 
Posts: 9032
Joined: Wed Nov 03, 2010 9:13 pm
Location: Crownsville, MD, US
Has thanked: 747 times
Been thanked: 1815 times

Re: [script] WME Junction Angle Info

Postby CBenson » Mon Apr 14, 2014 4:26 pm

I agree that the page is not complete. For instance, the best continuation can never have an angle of deflection of over 45 degrees.

As far as the "T-junction and one-way roads" section goes, I don't know what a locked node is at this point. I have never come across a T into a one-way segment that did not give a turn instruction. This is actually quite frequent as it happens not only at Ts into one way roads but also at every T into a split road.
Regional Coordinator: Mid-Altantic, US
Verizon, Droid Turbo, Android 4.4.4, Waze 3.9.4.0
CBenson
Waze Global Champs
Waze Global Champs
 
Posts: 9032
Joined: Wed Nov 03, 2010 9:13 pm
Location: Crownsville, MD, US
Has thanked: 747 times
Been thanked: 1815 times

Re: [script] WME Junction Angle Info

Postby crazycaveman » Mon Feb 09, 2015 7:34 pm

github changelog wrote:1.6.6
  • Always redraw points on zoom, since distance should be changed
  • Show angles on zoom level 10 also


:shock: That's awesome! I was wondering why JAI didn't show the angles when zoomed at 10 and am glad to see it should work now! Thank you for maintaining this script!
Nexus 5
CM: USA
Image Image
crazycaveman
Country Manager
Country Manager
 
Posts: 524
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 145 times
Been thanked: 246 times

Re: [script] WME Junction Angle Info

Postby crazycaveman » Mon Apr 13, 2015 10:07 pm

As mentioned above, the keep right is for the green path, NOT the purple. I've seen reports of people getting a turn left when they were clearly supposed to get a right hand instruction. Still have no idea what causes that, though. Seems like an intermittent bug
Nexus 5
CM: USA
Image Image
crazycaveman
Country Manager
Country Manager
 
Posts: 524
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 145 times
Been thanked: 246 times

Re: [script] WME Junction Angle Info

Postby davielde » Sun Feb 08, 2015 9:14 pm

BarfmanTheGreat wrote:I seem to be having a conflict between WME toolbox and JAI. Toolbox will provide a red PM link next to the last editor and creating editor of a segment when selected, as well as a list of area managers right below. However, in the past few days, those links have disappeared. If JAI is disabled in extensions, the links return. Voludu2 has confirmed the same problem with the GF version. Seems like some incompatibility. I am on Chrome, with the Chrome versions of JAI and toolbox. Thx for any assistance!


Here is the block of code in JAI that is causing the conflict. The "additional-attributes list-unstyled -side-panel-section" area is where the updated by/created by users are displayed. I'm not sure what the JAI code is attempting to do here, but I have verified that commenting out this section of the JAI code allows the Fancy Permalink icons in Toolbox to appear.

Code: Select all
//Add some version info etc
      var ja_info = document.createElement('ul');
      ja_info.className = "additional-attributes list-unstyled -side-panel-section";
      ja_info.style.fontSize = "11px";
      
      var ja_version_elem = document.createElement('li');
      ja_version_elem.appendChild(document.createTextNode(ja_getMessage("name") + ": v" + junctionangle_version));
      ja_info.appendChild(ja_version_elem);

      ja_settings_dom.appendChild(ja_info);
Image
CM: USA
SM: Michigan, Vermont
AM: Ann Arbor, MI & Thunder Bay, ON
WME Michigan
davielde
Country Manager
Country Manager
 
Posts: 1218
Joined: Tue Sep 17, 2013 2:01 pm
Location: Michigan, USA
Has thanked: 466 times
Been thanked: 750 times

Re: [script] WME Junction Angle Info

Postby doctorkb » Fri Sep 12, 2014 3:54 pm

SuperDave1426 wrote:It doesn't need to be in Toolbox, it needs to be here in Junction Angle Info. ;)

And I agree it would be an awesome feature!


Alternatively, we incorporate all of Junction Angle Info into Toolbox, so that future updates to WME can have some find & replace that fixes both simultaneously... :)

In my mind, there's really no good reason to keep a gazillion scripts -- anything that is found to be worthwhile to most editors should be moved into one main script. This means fewer lines of code to load/maintain (each script needs it's own setup and bootstrap), as well as more eyes on any potential bugs.
Waze Global Champ, Mentor, WME Toolbox Project Manager
Country Manager: Canada
Area Manager: Edmonton, AB; Prince George, BC; Maui, HI; Georgetown, KY and various places in between
ImageImageImage
doctorkb
Global Champ Mentor
Global Champ Mentor
 
Posts: 3607
Joined: Wed Nov 04, 2009 9:17 am
Location: Edmonton, Alberta, Canada
Has thanked: 574 times
Been thanked: 1440 times

Re: [script] WME Junction Angle Info

Postby doctorkb » Fri Sep 12, 2014 4:10 pm

Ahh, but you missed a key point.

If the author was interested, I'd happily involve them in the Toolbox development. :)

This would strengthen the team working on Toolbox, reduce everyone's workload (including the author who's being brought in) and likely result in a more compatible script environment for everyone.

I also don't know that there's a "fair play" concern here -- it's not like anyone is out to get money from this.
Waze Global Champ, Mentor, WME Toolbox Project Manager
Country Manager: Canada
Area Manager: Edmonton, AB; Prince George, BC; Maui, HI; Georgetown, KY and various places in between
ImageImageImage
doctorkb
Global Champ Mentor
Global Champ Mentor
 
Posts: 3607
Joined: Wed Nov 04, 2009 9:17 am
Location: Edmonton, Alberta, Canada
Has thanked: 574 times
Been thanked: 1440 times

Re: [script] WME Junction Angle Info

Postby doctorkb » Sat Oct 04, 2014 1:33 am

If there are any code snippets from TB that might help, let me know and I'll get you the unminimized version...
Waze Global Champ, Mentor, WME Toolbox Project Manager
Country Manager: Canada
Area Manager: Edmonton, AB; Prince George, BC; Maui, HI; Georgetown, KY and various places in between
ImageImageImage
doctorkb
Global Champ Mentor
Global Champ Mentor
 
Posts: 3607
Joined: Wed Nov 04, 2009 9:17 am
Location: Edmonton, Alberta, Canada
Has thanked: 574 times
Been thanked: 1440 times

Re: [script] WME Junction Angle Info

Postby elljay23 » Mon Apr 14, 2014 5:53 am

sketch wrote:
brandonrossl wrote:Is it possible to allow an editor to select 2 segments and instead of angle show the turn instruction that will be given (if applicable)?

A simple TR (turn right), KR (keep right), CS (continue straight), and ER.... and so on would be useful to remove doubt from the process.

Well, it depends on more than simply the angle... it's rather complex, depending also on road types, road names, and the other segments. It's not something we editors are fully aware of.

Thought the logic was captured in the wiki here. Are there extra rules?
elljay23
 
Posts: 601
Joined: Tue Jun 11, 2013 6:21 pm
Has thanked: 214 times
Been thanked: 60 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: RivermanBz