[Script] WME Junction Node Fixer v0.2.1 2017-08-16

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.
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 Node Fixer v0.0.9.0 2014-08-18

Postby james890526 » Thu Aug 21, 2014 12:54 pm

bgodette wrote:Version 0.0.9.0
This is now a Chrome Webstore Extension
Chrome Webstore

Checks WME's API to make sure used objects and functions exist and are the correct type. This works as long as function argument order doesn't change. Next step is to regex match on function contents to confirm arg order.

Makes cameras visible at zoom 0.
Updates keyboard pan amount by 1/4th the map view height.
Saves and persists turn arrow visibility and clickability between reloads/permalinks.
Saves and persists Full-screen mode.

Hooks into replaces 'q' (Disable All Turns) and does these actions on the selected node:
  • Enables U-Turn and locks all turns at dead-end nodes. Changed Behavior
  • Fixes any self and reverse connectivity issues
  • Converts single node roundabouts (lollipops) and loops into a three segment loop. Any existing house numbers will be associated with the middle segment and MUST BE EDITED after save to update their stop point.
  • If two or more segments are connected to the same two segments, it will split one of them. Same rules as SameNode.js bookmarklet.
  • Terminates dead-ends
  • 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.
  • Removes revcon (turns into wrong-direction of one-way), and selfcon (U-Turns at non-dead ends). Once the app has real support for U-Turns selfconf will be left alone
  • Locks all turns at selected node.


bgodette, will you be providing a Firefox script extension anytime soon?
james890526

ImageImageImageImageImage

Waze Malaysia
  • State Manager : Kedah
james890526
Wiki Master
Wiki Master
 
Posts: 179
Joined: Sun Jun 22, 2014 7:00 pm
Has thanked: 49 times
Been thanked: 30 times

Re: [Script] WME Junction Node Fixer v0.0.8.2 2014-01-29

Postby james890526 » Sun Aug 17, 2014 5:05 pm

I somehow managed to dramatically reduce the error pop up message by choosing "Execute first" in the script option. I guess it has something to do with the API object check.
james890526

ImageImageImageImageImage

Waze Malaysia
  • State Manager : Kedah
james890526
Wiki Master
Wiki Master
 
Posts: 179
Joined: Sun Jun 22, 2014 7:00 pm
Has thanked: 49 times
Been thanked: 30 times

Re: [Script] WME Junction Node Fixer v0.0.8.2 2014-01-29

Postby james890526 » Mon Aug 11, 2014 4:43 pm

ottonomy wrote:
sketch wrote:I get the error sometimes when already logged in, actually. I'm not sure what the problem is, but I believe it started happening only after I installed the Chrome Web Store version.


I've had the problem before the Chrome Web Store version was released, but it has presented itself more frequently since then.

Login status does not make a difference in my case. I never really log out, and when WME loads, following this API check message, I get the user greeting, and current points status, et cetera, confirming that I'm indeed logged in.


I too experienced this error. I'm currently using Firefox 31.0 and GreaseMonkey 2.1. The error pops up even when I'm signed in (never logged out). Can anyone confirm whether it works 100% with FF+GM?
james890526

ImageImageImageImageImage

Waze Malaysia
  • State Manager : Kedah
james890526
Wiki Master
Wiki Master
 
Posts: 179
Joined: Sun Jun 22, 2014 7:00 pm
Has thanked: 49 times
Been thanked: 30 times

Re: [Script] WME Junction Node Fixer v0.0.8.2 2014-01-29

Postby ispyisail » Mon Apr 14, 2014 2:13 pm

nibby34 wrote:cannot access any script page


I have the same problem
New Zealand and Papua New Guinea Country Manager
ImageImageImage
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3367
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 564 times
Been thanked: 555 times

Re: [Script] WME Junction Node Fixer v0.0.8.2 2014-01-29

Postby irowiki » Fri Apr 11, 2014 2:43 pm

Ah okay, I'm using the tampermonkey script from userscripts.org
irowiki
 
Posts: 250
Joined: Tue Feb 11, 2014 3:05 pm
Has thanked: 68 times
Been thanked: 40 times

Re: [Script] WME Junction Node Fixer v0.0.8.2 2014-01-29

Postby irowiki » Fri Apr 11, 2014 12:27 pm

Oh is it a chrome extension now too?
irowiki
 
Posts: 250
Joined: Tue Feb 11, 2014 3:05 pm
Has thanked: 68 times
Been thanked: 40 times

Re: [Script] WME Junction Node Fixer v0.0.8.2 2014-01-29

Postby irowiki » Fri Apr 11, 2014 5:15 am

As I said, I think you posted in the wrong thread:

// ==UserScript==
// @name WME Junction Node Fixer
// @description Creates a new editor hotkey to lock turns, fix reverse connectivity, and restore original restricted turns.
// @updateURL https://userscripts.org/scripts/source/144939.user.js
// @include https://*.waze.com/editor/*
// @include https://*.waze.com/map-editor/*
// @include https://*.waze.com/beta_editor/*
// @include https://editor-beta.waze.com/*
// @include https://descartes.waze.com/beta/*
// @include https://descartesw.waze.com/beta/*
// @version 0.0.8.2
// ==/UserScript==
Attachments
jnf permissions.PNG
jnf permissions.PNG (10.61 KiB) Viewed 1278 times
irowiki
 
Posts: 250
Joined: Tue Feb 11, 2014 3:05 pm
Has thanked: 68 times
Been thanked: 40 times

Re: [Script] WME Junction Node Fixer v0.0.8.2 2014-01-29

Postby irowiki » Thu Apr 10, 2014 10:24 pm

rivercitysyn wrote:Is there a reason permissions are set so that the extension has access to so much in Chrome?

Would it be possible to restrict them in the next release for peace of mind?


Did you cross post to the wrong thread? :lol: This isn't a chrome extension and it has website restrictions in the script itself!
irowiki
 
Posts: 250
Joined: Tue Feb 11, 2014 3:05 pm
Has thanked: 68 times
Been thanked: 40 times

Re: [Script] WME Junction Node Fixer v0.0.9.8 2015-12-15

Postby iainhouse » Tue Dec 15, 2015 10:50 pm

Fredo-p wrote:I don't have JNF script or extension installed. What is causing the API failed box to keep showing up?


JNF is also incorporated into WME Toolbox - and WME Toolbox does not have this latest fix. I think that WME Toolbox may have a check that only enables the built-in version if "native" JNF is not installed, so it might be worth trying to install the standalone version.
ImageImageImage
UK AdminsUK WikiWaze FAQWMEFU Script :ugeek:
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
iainhouse
Country Manager
Country Manager
 
Posts: 9037
Joined: Mon Jul 23, 2012 5:16 pm
Location: on the road from London to insanity, with Waze HQ in the driving seat
Has thanked: 1965 times
Been thanked: 6789 times

Re: [Script] WME Junction Node Fixer v0.0.9.6 2014-12-23

Postby iainhouse » Wed Mar 04, 2015 1:02 am

Just to expand on that, even if Waze routes the correct way, the app may display the purple route line going the other way, leading to URs because the directions don't match the map. If a UR is reported, then in WME there may also be a conflict between the Waze route shown by the purple line and the instruction icons which are for the alternate route.

Also, the extra node will not affect exit counts because it isn't an exit. The exit count can only be affected if a segment is attached to the node - either a 2-way segment or 1-way away from the roundabout.
ImageImageImage
UK AdminsUK WikiWaze FAQWMEFU Script :ugeek:
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
iainhouse
Country Manager
Country Manager
 
Posts: 9037
Joined: Mon Jul 23, 2012 5:16 pm
Location: on the road from London to insanity, with Waze HQ in the driving seat
Has thanked: 1965 times
Been thanked: 6789 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: No registered users