Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
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.
Post by PesachZ
kadyus wrote:Im using the v1.6.4. Seems like the script is returning incorrect routing estimation on a fork for the best continuation. Even at 0deg, the estimation is keep.

That's correct, not a mistake. see the wiki on junction style guide § controlling turn instructions, and the page on best continuation. A 0° angle can still give a keep instruction if it's not best continuation.

The only "incorrect" part of this is the arrow pointing left which may be construed as a keep left instruction. In this case though even though the segment is angles to the left, the instruction will be keep right if given. The script doesn't fully parse for best continuation though, it mostly tells you what the instruction will be if there is one.

Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
Posts: 4516
Has thanked: 1365 times
Been thanked: 1572 times
Send a message
https://s.waze.tools/gc.pngNYhttps://j.mp/1xPiWC8https://j.mp/1C9mUY2
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum

Post by PesachZ
kadyus wrote:Yes, I have read and understand the wiki. In my case the 0° 'keep' is the best continuation (same road type and name) whereas the keep left is correct. In the client, there is no instruction given when driving straight and keep left instruction is given when taking the left split. The script shows correct estimation for best continuation when the other split is a 'Turn'.

Best continuation not recognised:
https://www.waze.com/editor/?env=row&lo ... ,259035723

Best continuation recognised:
https://www.waze.com/editor/?env=row&lo ... ,200784080
Currently the script can detect best continuation caused only by angles, bit does not yet have the ability to check for best continuation based on name or type.

The estimation for instructions is a be feature and the Dev has not yet been able to fully implement it. What we have now is definitely better than what we had before, but could get better.[emoji1]

Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
Posts: 4516
Has thanked: 1365 times
Been thanked: 1572 times
Send a message
https://s.waze.tools/gc.pngNYhttps://j.mp/1xPiWC8https://j.mp/1C9mUY2
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum

Post by PesachZ
milkboy wrote:It "should" be correct in many cases, but there might naturally be issues with the algorithm (either the implementation or the guesswork on how it's supposed to work). Anyway, feel free to report issues so we can get them corrected. Permalinks and a description are most welcome, and if you know the actual instruction given for the route.
I updated the algorithm with a spread sheet flow in the wiki which covers (almost) all possibilities.

Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
Posts: 4516
Has thanked: 1365 times
Been thanked: 1572 times
Send a message
https://s.waze.tools/gc.pngNYhttps://j.mp/1xPiWC8https://j.mp/1C9mUY2
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum

Post by PesachZ
milkboy wrote:Meh.. Tried to figure out why a node was showing "keep" in WME+JA, while in reality it's a "no instruction".. Turns out we probably should check for vehicle class restrictions etc also. But then there is the problem of when the restriction is in place =D The turn might be both allowed and not allowed from routing instruction point-of-view.. ouch. Ideas on how to handle that?

[EDIT] As an example, there might be a "disallowed for cars between 22-06" or similar restrictions..
[EDIT2] And in this case, the issue was that the only other segment is allowed for buses only (at all times).
To be fully complete you would have to check for partially restricted turns, yes. Basically any turn that is restricted to "private vehicles" is treated the same as a red arrow during that restricted time. Which may mean that at some times of the day there is an instruction, and at other times there isn't.

How to handle? Maybe a special color, or a "?".

Edit: Typos,
PS I'll check the spreadsheet later and reply to that question.

Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
Posts: 4516
Has thanked: 1365 times
Been thanked: 1572 times
Send a message
https://s.waze.tools/gc.pngNYhttps://j.mp/1xPiWC8https://j.mp/1C9mUY2
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum

Post by PesachZ
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!
You may want to cross post this also in the toolbox thread.

Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
Posts: 4516
Has thanked: 1365 times
Been thanked: 1572 times
Send a message
https://s.waze.tools/gc.pngNYhttps://j.mp/1xPiWC8https://j.mp/1C9mUY2
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum

Post by PesachZ
Great idea

Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
Posts: 4516
Has thanked: 1365 times
Been thanked: 1572 times
Send a message
https://s.waze.tools/gc.pngNYhttps://j.mp/1xPiWC8https://j.mp/1C9mUY2
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum

Post by PesachZ
AlanOfTheBerg wrote:
milkboy wrote:For any brave souls (who are not easily scared by a little tech speak), there is a branch on Github now (named roundabout-test).. It kindof has support for roundabout angles,...
Great! I wonder if functionality of WME Roundabout Angles could be in the future?
Which function specifically, the only one I'm missing is drawing a circle overlay to help with manual manipulation.

Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
Posts: 4516
Has thanked: 1365 times
Been thanked: 1572 times
Send a message
https://s.waze.tools/gc.pngNYhttps://j.mp/1xPiWC8https://j.mp/1C9mUY2
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum

Post by PesachZ
milkboy wrote:
PesachZ wrote: Which function specifically, the only one I'm missing is drawing a circle overlay to help with manual manipulation.
Something like this?
Yup, now if you could do that anytime a segment connected to a roundabout was selected...[emoji1] .

But it might not always be desired so having a checkbox in the settings tab to toggle that behavior is even better.

Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
Posts: 4516
Has thanked: 1365 times
Been thanked: 1572 times
Send a message
https://s.waze.tools/gc.pngNYhttps://j.mp/1xPiWC8https://j.mp/1C9mUY2
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum

Post by PesachZ
milkboy wrote:
qwaletee wrote:Request #1: Can we have the 1a/1b/1c orange circles display the angle of departure in addition to or instead of the standard angle? I often find myself selecting multiple segments just to be able to get this number without having to subtract from 180 in my head.
Very much doable
qwaletee wrote:Request #2: When a single segment is selected, instead of displaying the standard angles between each pair of adjacent segments, can we have a circle placed on each one of the connected segments, and have it display the angle from/to the selected segment, along with an indication of the instruction from/to it?
Sure. The only issue is, that the instruction may be different depending on which direction the user is going, so assuming the direction is "from the selected", it's trivial.
qwaletee wrote:Request #3: In this situation, if you could detect it, a third type of display would be ideal - one that actually showed the number of degrees off parallel of the two roads.
yay.. this should be possible to do also, just have to check a few things to see if it can be made fast .
If you have any questions especially about the U-turn angles feel free to message me

Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
Posts: 4516
Has thanked: 1365 times
Been thanked: 1572 times
Send a message
https://s.waze.tools/gc.pngNYhttps://j.mp/1xPiWC8https://j.mp/1C9mUY2
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum

Post by PesachZ
Olestas wrote:https://www.waze.com/editor/?env=row&lo ... ,102806274

This form gives Keep Left in reality. JAI does not detect this.. can something be done? ACtually now it is pretty hard in some cases to predict how will it sound..
There is an algorithm in the wiki [emoji6]

Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
Posts: 4516
Has thanked: 1365 times
Been thanked: 1572 times
Send a message
https://s.waze.tools/gc.pngNYhttps://j.mp/1xPiWC8https://j.mp/1C9mUY2
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum