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 Reply
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.

[Script] WME Closure Details (1.3.0)

Post by Glodenox
I got slightly annoyed this morning by not being able to see the details of a closure outside of my editing area, even though I was able to find all its details when I started looking into the data received from the server. Therefore I decided to make a small userscript that adds the description and also some additional data in a tooltip: origin of the closure is (WME or app), closure data provider, closure creator, closure creation timestamp, last closure updater and last closure update timestamp.

https://tomputtemans.com/waze-scripts/i ... xample.png

The userscript can be found and installed at GreasyFork: https://greasyfork.org/scripts/28620-wm ... re-details

You will need to install an add-on that manages userscripts for this to work. There's TamperMonkey for Firefox and Chrome.
 
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1569
Answers: 1
Answers: 1
Has thanked: 278 times
Been thanked: 946 times

POSTER_ID:17118915

1

Send a message
Last edited by Glodenox on Thu Feb 18, 2021 8:59 pm, edited 17 times in total.
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png

Post by dspille
Thanks for this great tool!
dspille
Country Manager
Country Manager
Posts: 416
Has thanked: 477 times
Been thanked: 139 times
Send a message

Post by Glodenox
Just noticed that the 'WME-entered' and 'App-entered' indication was wrong. The data I was basing that on actually indicates whether or not the closure ignores traffic. Version 0.2 has been created to fix this.
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1569
Answers: 1
Has thanked: 278 times
Been thanked: 946 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png

Post by Glodenox
I've released version 0.3 in which an indication is added when a closure doesn't have a description set and I've also added some better date parsing to find closures for more date formats. The userscript should now always work with WME Fix UI enabled.
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1569
Answers: 1
Has thanked: 278 times
Been thanked: 946 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png

Post by Glodenox
Just released a fix to prevent applying more than one description to the same closure block. This usually only happens when you have one selected segment and move to another segment with the same closure restrictions on it or when you select multiple segments at the same time with the same closure restrictions on them.
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1569
Answers: 1
Has thanked: 278 times
Been thanked: 946 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png

Post by Glodenox
I've just released a new version that will match the closures in the list much better in all date formats. If you didn't get any closure details in the past in your language: now's the time to try it again ;)

Instead of trying to parse the date in the list I now just transform the date of the underlying data model to the local date format and compare that result. It now basically does the same transformations as the WME does.
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1569
Answers: 1
Has thanked: 278 times
Been thanked: 946 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png

Post by Glodenox
Just released a fix for a bug that prevented closure details from showing up due to a missing 'last updated on' timestamp. Apparently there is a way for a closure to get updated by a user without actually setting the update time. I'm assuming a staff script will be responsible for this.

No news yet on the bug itself getting fixed in the WME.
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1569
Answers: 1
Has thanked: 278 times
Been thanked: 946 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png

Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1569
Answers: 1
Has thanked: 278 times
Been thanked: 946 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png

Post by Glodenox
Version 0.6.2 has just been released.
This includes a fix for a breaking issue in the beta WME.
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1569
Answers: 1
Has thanked: 278 times
Been thanked: 946 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png

Post by Glodenox
FYI: I'm aware that this userscript currently doesn't work any more in the editor. I somehow overlooked this script when I tested my scripts for the new layout. I'm most likely going to make the tooltip show on the right whenever you hover over a closure item. But I'm not sure when I'll find the time to do this...
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1569
Answers: 1
Has thanked: 278 times
Been thanked: 946 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png