I'm not sure if this is a known bug: When you select about 50 new segments and try to apply a city name to all of them the extension starts checking for angles (could see it happening in the console) and takes forever to end, twice google asked if I wanted to kill the page and the 3rd time it crashed chrome.
Links importantes Brasil
https://s.waze.tools/am.pnghttps://s.waze.tools/sm.pnghttps://s.waze.tools/cm.pnghttps://s.waze.tools/lcbr.pnghttps://storage.googleapis.com/wazeoped ... Tester.pnghttps://s.waze.tools/beta.pnghttps://s.waze.tools/loc.png
"He who hesitates is not only lost, but several miles from the next freeway exit"
https://s.waze.tools/am.pnghttps://s.waze.tools/sm.pnghttps://s.waze.tools/cm.pnghttps://s.waze.tools/lcbr.pnghttps://storage.googleapis.com/wazeoped ... Tester.pnghttps://s.waze.tools/beta.pnghttps://s.waze.tools/loc.png
"He who hesitates is not only lost, but several miles from the next freeway exit"
Try 1.13 from milkboy: https://github.com/milkboy/WME-ja/raw/d ... le.user.js
USA Country Manager
https://s.waze.tools/cm.pnghttps://s.waze.tools/beta.pnghttps://s.waze.tools/betc.png
https://s.waze.tools/cm.pnghttps://s.waze.tools/beta.pnghttps://s.waze.tools/betc.png
Interesting example! It seems that JAI is simply evaluating each endpoint's turn angle independently and comparing their difference, presuming a mostly-straight median segment. To truly check for parallelism would require evaluating absolute directions of departure segments instead of relative angles between connected segments.
USA Country Manager
https://s.waze.tools/cm.pnghttps://s.waze.tools/beta.pnghttps://s.waze.tools/betc.png
https://s.waze.tools/cm.pnghttps://s.waze.tools/beta.pnghttps://s.waze.tools/betc.png
Is there any reason not to push that beta version to general release? I've been using it for months without problems.
https://storage.googleapis.com/wazeoped ... c4/AGC.pnghttps://sign.waze.tools/s2000.pnghttps://sign.waze.tools/c6.png
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
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:
And the debugger takes me to this statement at line 122:
Line 2198 is the call to junctionangle_init.
I'm using development version 1.12
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
Code: Select all
window.Waze.model.segments.events.on({
"objectschanged": ja_calculate,
"objectsremoved": ja_calculate
});
I'm using development version 1.12
https://storage.googleapis.com/wazeoped ... c4/AGC.pnghttps://sign.waze.tools/s2000.pnghttps://sign.waze.tools/c6.png
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
I believe that JAI is correct, whereas that Wiki page is not. "Parallelism" is not the criterion. The criterion is 2 turn angles that add up to 180° (or very close).ituajr wrote:It appears that the U-turn avoidance conditions are not being evaluated correctly by JAI. The third condition is described in Preventing median U-turns as "In/out parallelism: The in and out segments (A and C) are within ±5° of parallel to each other."
If all the segments are straight, then 2 turns adding up to 180° means that the incoming & outgoing segments will be parallel. But if the middle segment is curved (as shown in your example above), then 2 angles adding up to 180° means the incoming & outgoing segments definitely won't be parallel.
In fact, the easiest way to "break" u-turn prevention (if you want to enable u-turns) is to kink the connecting segment. In & out remain parallel, but the total angle is no longer 180°
https://storage.googleapis.com/wazeoped ... c4/AGC.pnghttps://sign.waze.tools/s2000.pnghttps://sign.waze.tools/c6.png
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
Or you could use WME RA Util which shows the angles and whether they will produce normal instructions or not.
If the angles are wrong, you can use the script to move the attachment points until they are; plus you can rotate, resize & move the entire roundabout.
I reckon you'll find that a lot easier than playing with an overlay.
If the angles are wrong, you can use the script to move the attachment points until they are; plus you can rotate, resize & move the entire roundabout.
I reckon you'll find that a lot easier than playing with an overlay.
https://storage.googleapis.com/wazeoped ... c4/AGC.pnghttps://sign.waze.tools/s2000.pnghttps://sign.waze.tools/c6.png
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
The latest WME update has made some changes to the layers menu. Since JAI adds an option to the layers menu, it will need updating to match the changed style of the new menu.
Not an urgent matter - it still works, just looks a bit different.
Not an urgent matter - it still works, just looks a bit different.
https://storage.googleapis.com/wazeoped ... c4/AGC.pnghttps://sign.waze.tools/s2000.pnghttps://sign.waze.tools/c6.png
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
Hi there.
WME is deprecating the use of OL as an alias to access the OpenLayers object in WME. As of the latest production version of WME, a warning is produced in the console every time OL is used.
Since that production release I've been having some performance issues with WME. In particular, if I open the Chrome console, something is causing WME to produce thousands of these alerts continuously. With the console open, Chrome uses up all the available memory within a minute or two and then becomes unresponsive when the memory runs out.
I'm sorry to say, but it looks like JAI is the culprit. There are 28 references to OL in the script. When I replace them all with OpenLayers the problem stops completely. I'm not sure why it would be continuously generating these errors, but it definitely is.
The fix is simple enough - replace all occurrences of "OL." with "OpenLayers.". You'll need the ".", otherwise you'll replace the characters "OL" in the icon string on line 10.
WME is deprecating the use of OL as an alias to access the OpenLayers object in WME. As of the latest production version of WME, a warning is produced in the console every time OL is used.
Since that production release I've been having some performance issues with WME. In particular, if I open the Chrome console, something is causing WME to produce thousands of these alerts continuously. With the console open, Chrome uses up all the available memory within a minute or two and then becomes unresponsive when the memory runs out.
I'm sorry to say, but it looks like JAI is the culprit. There are 28 references to OL in the script. When I replace them all with OpenLayers the problem stops completely. I'm not sure why it would be continuously generating these errors, but it definitely is.
The fix is simple enough - replace all occurrences of "OL." with "OpenLayers.". You'll need the ".", otherwise you'll replace the characters "OL" in the icon string on line 10.
https://storage.googleapis.com/wazeoped ... c4/AGC.pnghttps://sign.waze.tools/s2000.pnghttps://sign.waze.tools/c6.png
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
Thanks, Seb - that's working nicely.
At the moment, this is nothing but a warning message produced in the console. I'm only producing a few warnings and I didn't expect them to have any impact on WME. Presumably you have to cause a lot before there's an issue!
Interestingly, the warning comes from a part of the native WME code marked up as being for the assistance of community scripts. So WME includes specific features/warnings that are only there to help us stay compatible with WME changes.
To be honest, mine is one of them!karlcr9911 wrote:Thanks Iain...looks like a whole lot of scripts are still using OL vs OpenLayers.
At the moment, this is nothing but a warning message produced in the console. I'm only producing a few warnings and I didn't expect them to have any impact on WME. Presumably you have to cause a lot before there's an issue!
Interestingly, the warning comes from a part of the native WME code marked up as being for the assistance of community scripts. So WME includes specific features/warnings that are only there to help us stay compatible with WME changes.
https://storage.googleapis.com/wazeoped ... c4/AGC.pnghttps://sign.waze.tools/s2000.pnghttps://sign.waze.tools/c6.png
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
My scripts: WME FixUI WME Presets
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
Re: [script] WME Junction Angle Info