The new Waze Wiki, aka Wazeopedia, is now live at Wazeopedia.waze.com! While this legacy wiki will remain accessible for the time being, it is no longer updated by the community. For the most up-to-date guidance, please visit your local Wazeopedia.

Please do not make any more updates to these legacy wiki pages, all future updates should be made in your country's local Wazeopedia.

Clock over a larger globe

Difference between revisions of "Scripts/WME Junction Node Fixer"

From waze
Jump to: navigation, search
m (Reverted edits by Waztorage (talk) to last revision by PesachZ)
 
Line 39: Line 39:
 
{{ForumLink
 
{{ForumLink
 
|http://www.waze.com/forum/viewtopic.php?t=35237}}
 
|http://www.waze.com/forum/viewtopic.php?t=35237}}
 
<!-- PLACE CATEGORIES BELOW THIS LINE -->
 
<noinclude>[[Category:Script Subpage]]</noinclude>}}
 
 
<noinclude>{{:Scripts/Script subpage}}</noinclude>
 
{{#ifeq:{{{summary|}}}|yes|<!--
 
## DO NOT EDIT ABOVE THIS LINE
 
## PLACE ALL SCRIPT CONTENT BELOW THIS LINE
 
## --><!-- VERY BRIEF SCRIPT SUMMARY GOES BELOW THIS LINE
 
## --------------------------------------------------------->
 
{{AddCode|Replace this box with a very brief description of this script.}}
 
<!--##----------------------------------------------------
 
## VERY BRIEF SCRIPT SUMMARY GOES ABOVE THIS LINE -->|<br><!--
 
## FULL SCRIPT DESCRIPTION GOES BELOW THIS LINE
 
## Do not use any section headers above level 4,
 
## they will interfere with the layout of the main Scripts page.
 
## If you want to add sections below please start at level 4.
 
## For example ==== Level 4 header ====, you can go higher 5,6,etc.
 
##------------------------------------------------------->
 
 
by {{Username| <!-- ## Enter the script authors name here -->}}
 
 
[[File:Wme layers expanded.png|thumb|right|250px]] <!-- ## optional put an image link here, or remove this line -->
 
{{AddCode|Delete this message, and place the description and script instructions here.}}
 
 
<!-- PLACE ALL SCRIPT DESCRIPTIONS ABOVE THIS LINE. DOWNLOAD LINKS GO BELOW -->
 
 
↓ {{U|'''DOWNLOAD'''}} ↓
 
* [http://greasyfork.org/YOUR_DOWNLOAD/141050 from GreasyFork.org].
 
* [http://chrome.google.com/webstore/detail/YOUR_EXTENSION/ndjebdiendisbsisjsbsosn from Chrome Web Store].
 
{{AddCode|replace the URLs above with your download links, you can add more lines or delete one of there are too many.}}
 
 
{{Clear}}
 
{{ForumLink
 
|forum=http://www.waze.com/forum/viewtopic.php?YOUR_THREAD<!-- place forum thread URL here-->}}
 
  
 
<!-- PLACE CATEGORIES BELOW THIS LINE -->
 
<!-- PLACE CATEGORIES BELOW THIS LINE -->
 
<noinclude>[[Category:Script Subpage]]</noinclude>}}
 
<noinclude>[[Category:Script Subpage]]</noinclude>}}

Latest revision as of 22:55, 7 August 2016

This page is an element displayed as a section on the Scripts page. The content should be edited on this page, click here to view it on the main page.


by bgodette (PM)

Junction Node Fixer has several features. The primary focus of JNF is that it overloads the 'q' (disallowAllTurns) keyboard shortcut to preserve existing turn restrictions. 'Overloading' means that it takes over all functionality of the 'q' hotkey only. The 'q' keyboard shortcut performs the following actions

  • Fixes any self and reverse connectivity issues
  • Fixes closed loop roads (by splitting into two segments with a joining junction)
  • Terminates dead-ends with a junction
  • Makes dead-ends two-way (only if both ends of the segment are visible)
  • Sets the Type of a roundabouts using lowest of two highest rule and sets country/state if needed
  • For UK sets Type of roundabouts using highest type excluding Freeway rule.
  • Does a traditional 'qw' (clears reverse connectivity, and locks turns)
  • Causes the turn arrows to refresh (the side effect of 's' but without the shifting).

Since you end up with the same turns restricted, that means you need to press 'w' if you really want all turns allowed. This is why it overloads 'q' instead of 'w'. Ultimately this will be a separate hotkey that's editable through WME's '?' interface.

JNF also:

  • Saves the state of WME's ShowAllTurns, ShowTurns, and Full-screen mode across Refresh/F5/Permalink.
  • Forces data model reload after successful save.

This has been tested only in Chrome; it has been reported to work in Firefox with GreaseMonkey.


DOWNLOAD

Comments or questions on any Wiki page can be brought up in the Wiki updates forum topic.