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 milkboy
milkboy wrote:Some progress yes. Hope to have something ready for alpha testing today =)
The master branch on GitHub now has something to play with. Mostly it displays a pale blue for turn angles <=44, a gray for 44-46 and the "normal" green otherwise. It also tries to determine if the junction has another possible turn <44, in which case it should show up as green.

Oh, and I added configuration options, so the color coding of angles is disabled by default, and the colors are configurable =)

Still to be done:
- keep/exit logic (needs to start checking segment types etc)
- alt names checking etc for the above point
- roundabout support (needs quite a bit of work I'm afraid)

EDIT:
P.S. Also added decimal option (this one is for you PesachZ)
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
brandonrossl wrote:I'd like to add a request that a best continuation/no instruction color be used as well for those times where it's super confusing.

This is looking to be one of the most useful plug-ins! Great job!
Yeah. It's work in progress ;) Probably won't have much time to do anything until next week though :(
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
Mmmmm.. Got something to think about with the best continuation.. As there might be one-way or otherwise restricted turns in one direction, but not the other, how should that be handled? Would there have to be two separate markers, or just use the order in which the segments were selected to choose driving direction? The latter one is "easy" while the former may be a bit complicated.. Will probably go with the latter one at least for now, but it could probably use some indication of driving direction.. Mostly just thinking out loud here =)
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
PesachZ wrote:Milkboy, thanks now I can use the master branch. Is there a way to install from gut hub, or I have to copy code into a custom script?
Not actually sure.. Currently pretty much using copy-paste with Tampermonkey while developing =/ Probably not the best solution. Anyway, auto-updating from the GitHub repo is probably a bad idea also, as committed version might actually be very much untested ;)
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
PesachZ wrote: Oh well, I'm using the 1.6 master from github, but I'll wait for an official release to report any bugs then.

I will say though the 'regular turn' color is activated at 44° instead of the gray area color.
Fixed that today, but then again there are also other issues with the latest commits. Hope to have something semi stable in a few hours. Working on the best continuation logic :)
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
Meh. Ran into some javascript version issues. need to rewrite some code to be more compatible, and some of the logic requires a bit more effort to actually be useful, but getting closer. Need some sleep now though =/ Will continue tomorrow...
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
Oooookayyyy... This is only for the brave who won't mind risking their browser crashing, house catching fire and possibly causing a nuclear meltdown, you can try this 1.6-alpha1 version.

It's kindof working (with my very limited testing), and also the logic might still be quote incorrect, as I still need to clarify a few points with PesachZ.

Anyway, feel free to comment (and naturally fix) any bugs, and if sh*t happens for real, give some debug info ;P

You might want to turn up debugging level to 2 (or even 3) to watch the best continuation logic debug output in the console

EDIT: Known issues:
  • Roundabout support not yet available
  • Segment type checking incomplete
  • Angles >44 may not be correctly filtered out
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
milkboy wrote:Oooookayyyy... This is only for the brave who won't mind risking their browser crashing, house catching fire and possibly causing a nuclear meltdown, you can try this 1.6-alpha1 version.
Meh. Found lots of small issues, and fixed some: alpha2

Same known issues still apply though

EDIT: Oh, and having >2 possible continuations with angle less than 44 will also not work (yet)
EDIT2: Added "<" and ">" to the angle to indicate left vs right turn|exit|keep (not visually appealing, , but should work until something better is implemented)
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Last edited by milkboy on Tue Oct 07, 2014 12:56 pm, edited 2 times in total.
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
brandonrossl wrote:Likewise on the thanks! I'm a Chrome user so let us know when to start clicking the update extensions button!
:ugeek: Well.. Need to gather a little more feedback and do quite some testing before updating the addon. I don't want to break the existing functionality either..
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
PesachZ wrote:Found some Wayfinders highlighted white on both sides of the split. They should be getting instructions on both sides (green), is this part still being worked on? Wasn't in the known issues. Only three segments meet at a junction. All same type the s-out and an have no name
There may be a ton of (unlisted) bugs, only tested a fraction of all possible combinations ;) Could you post a link with the segments selected?
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png