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 Helper

Post by FourLoop
Hello all!

I have a new script to show you: WME Closure Helper. This script assists with functions such as:
  • Maintaining varied closure presets
  • Adding helpful tools to the UI when adding new closures or editing existing ones
  • Bulk deleting closures
  • Cloning closures
Here's the links you need:

Script Link
Want to join beta? Click here!
User guide
GitHub (for issues + code) (PRs welcome, if you wish)
Random cat?

Thanks to Twister-UK for allowing me to take some of the functionality from his famous UROverview Plus script!

Let me know if you need anything down below, or over in #closure-helper on the WME Scripts server! Thanks!
FourLoop
Posts: 24
Has thanked: 20 times
Been thanked: 24 times
“If I had asked people what they wanted, they would have said faster horses.” - Henry Ford
https://s.waze.tools/beta.pnghttps://s.waze.tools/c4.pnghttps://www.totalpc.com/waze/Waze_AL_FL ... _flags.png
Managed Area: Missouri / Southeast Florida
RTC Area: Florida
Wiki Page

Post by FourLoop
shmupi wrote:Hi.

It seems that the script link is broken

Getting : 502 Bad Gateway


Thanks,
Shmupi
I believe Greasyfork was having some issues last night. Was getting the same error just trying to access the main site.
FourLoop
Posts: 24
Has thanked: 20 times
Been thanked: 24 times
“If I had asked people what they wanted, they would have said faster horses.” - Henry Ford
https://s.waze.tools/beta.pnghttps://s.waze.tools/c4.pnghttps://www.totalpc.com/waze/Waze_AL_FL ... _flags.png
Managed Area: Missouri / Southeast Florida
RTC Area: Florida
Wiki Page

Post by jm6087
KuniaKid wrote:Please excuse my ignorance, but how is this different than WME Advanced Closures?
Currently this script does not allow for "advanced" scheduling. It is basically like the old script that added "CRASH" (RTC Improvements I believe) to your options but on steroids.
jm6087  
Waze Global Champs
Waze Global Champs
Posts: 6273
Answers: 4
Has thanked: 650 times
Been thanked: 2018 times
Thanks,
John
US Global Champ
SCR Wiki
https://storage.googleapis.com/wazeoped ... writer.png
[
https://i.ibb.co/ZNbYyt5/RIPIain.png R.I.P. Iainhouse - Oct 21st 2021

Post by dfortney
I can't wait to try it out. Always a terrific day when someone steps forward to offer up their first script. We'd be nowhere without you guys!
dfortney
Posts: 281
Has thanked: 129 times
Been thanked: 104 times

Post by dizzie131
I use Advanced Closures quite regularly, but it lacked an easy option to close a road in the event of a Vehicle Accident.
Your script definitely fills that gap!

Thanks for your efforts!
dizzie131
State Manager
State Manager
Posts: 124
Has thanked: 65 times
Been thanked: 15 times

https://storage.googleapis.com/wazeoped ... global.png

State Manager : South Australia
Area Manager: Otago & Southland - NZ
62,000Kms Driven Kms with Waze!
Join us in the Waze Australia Discord Server!

Post by jm6087
MajkiiTelini wrote:I see some issue with closure length recognition:
Thanks, this has been fixed in the beta version and should be fixed when Cameron releases to production version.
jm6087  
Waze Global Champs
Waze Global Champs
Posts: 6273
Answers: 4
Has thanked: 650 times
Been thanked: 2018 times
Thanks,
John
US Global Champ
SCR Wiki
https://storage.googleapis.com/wazeoped ... writer.png
[
https://i.ibb.co/ZNbYyt5/RIPIain.png R.I.P. Iainhouse - Oct 21st 2021

Post by FourLoop
jm6087 wrote:
MajkiiTelini wrote:I see some issue with closure length recognition:
Thanks, this has been fixed in the beta version and should be fixed when Cameron releases to production version.
Might as well push then ;)

v1.1.0 (dubbed 2020.09.10.01) is released. Documented issues fixed are available here:
https://github.com/cbrxyz/wme-closure-h ... 4?closed=1

Documentation has also been updated!
FourLoop
Posts: 24
Has thanked: 20 times
Been thanked: 24 times
“If I had asked people what they wanted, they would have said faster horses.” - Henry Ford
https://s.waze.tools/beta.pnghttps://s.waze.tools/c4.pnghttps://www.totalpc.com/waze/Waze_AL_FL ... _flags.png
Managed Area: Missouri / Southeast Florida
RTC Area: Florida
Wiki Page

Post by FourLoop
sketch wrote:Bug? When I'm in the same time zone as the closure, it'd be better if the message either reassured me that I'm in the same time zone or simply didn't say anything, rather than "warning" me that "Warning, the times for the closure you are adding is NaN hours ahead."
Are you sure your API key is working fine?
witoco wrote:Nice tool, but it seems I catched a bug.

Some weeks ago I created a high number of closures (many segments, scheduled for many days) using WME Advanced Closures, but now I need to update the schedule, so I decided to remove all of them and recreate using the new schedule.

I tried to remove them using WME Closure Helper and only 28 were displayed at a time. I could select all the displayed ones using the "Select all closures" selector and then pressed the "Delete Selected Closures" button. After accepting the confirmation WME pupup 28 times, another set of closures was listed, and another "Select all closures" selector was appended to the heading of that list, on top of the previous checkbox. When I check that option, a new "Delete Selected Closures" button appeared on top of the previous one. I can repeat this many times and new selectors and buttons get appended to the existing ones.

I disabled the Advances Closures and any other plugin to test the behavior when it is isolated, and this time it showed me again 28 closures, and when I selected all of them and pressed the "Delete..." button, the confirmation poput appeared more than 100 times, and when it stopped to appear, I got a huge list of selector checkboxes, and the closures at the end where horizontally compressed (a thin and tall HTML box for each of the 28 remaining closures).

Thank you FourLoop for this tool... BTW, is localization in your roadmap?
I think that issue is documented, if I'm understanding it right. And nope.

Also, sorry for being a little behind on things, been a little busy with some other stuff right now.
FourLoop
Posts: 24
Has thanked: 20 times
Been thanked: 24 times
“If I had asked people what they wanted, they would have said faster horses.” - Henry Ford
https://s.waze.tools/beta.pnghttps://s.waze.tools/c4.pnghttps://www.totalpc.com/waze/Waze_AL_FL ... _flags.png
Managed Area: Missouri / Southeast Florida
RTC Area: Florida
Wiki Page


Post by bedo2991
jm6087 wrote: Sat Oct 02, 2021 11:29 am Version 2021.10.02.01 released.

If adding 1 month when the clousre ends on the last day of the month using the clicksaver, it now sets new end date to last day of the following month.   For January, if closure ends on or after January 28 (or 29 on leap years), it sets to Feb 28 (or 29 on leap years). 
Thanks fuji2086 for bringing this up

Also added support for date format on some WME Languages.

"en", "en-US use mm/dd/yyyy

"es-419", "es", "en-GB", "af", "en-AU" use dd/mm/yyyy

"bg" uses dd.mm.yyyy

all others currently use mm/dd/yyyy
Thanks Skorpiano for bringing this up

If you let me know your WME language and the date format, I can see about adding it to the list.
 

 
Thanks, italian (it) would use dd/mm/yyyy
German (de) uses dd.mm.yyyy
 
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2105
Has thanked: 175 times
Been thanked: 577 times