[Script] WME Restriction Manager

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.

Moderators: Unholy, bextein, Glodenox, JustinS83

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 Restriction Manager

Postby kjg53 » Mon Oct 15, 2018 3:38 am

Restriction Manager adds the ability to save, and apply, a set of restrictions in WME's restriction dialog.

Greasyfork: https://greasyfork.org/en/scripts/369887-restriction-manager

To use the script, select a segment then click on 'Edit restrictions'. New buttons will appear that enable an editor to save the restrictions present on one segment then apply them later to another segment.

Ex1.PNG
(152.28 KiB) Downloaded 485 times


The script does not recognize new, or edited, restrictions that have not been applied to a segment. You'll need to click on the Apply button and then click on 'Edit restrictions' a second time before you can save those restrictions to your browser's localstore.

The direction of the restrictions is not stored. As a result, you can save the A->B restrictions on one segment then apply those restrictions in the B->A direction on another segment.

Clicking on the icon in the upper right corner will display basic instructions and controls for exporting, and importing, saved restrictions.

Ex2.PNG
(136.85 KiB) Downloaded 492 times
Last edited by kjg53 on Mon Oct 15, 2018 2:54 pm, edited 1 time in total.
kjg53
Map Raider
Map Raider
 
Posts: 360
Joined: Fri Oct 24, 2014 5:05 am
Location: Pearland, Texas, USA
Has thanked: 141 times
Been thanked: 51 times

Re: [Script] WME Restriction Manager

Postby woodvale » Mon Oct 15, 2018 9:26 am

This looks like it could be extremely useful - thanks :)

It would be even better if you could find some way of displaying the start and end dates of the restriction on the initial window. Where there are restrictions that vary in time throughout the year, they're very difficult to manage easily without that date range information being visible.
John
woodvale UK Champ, CM UK & Jamaica, UK Partner Coordinator, AM City and South London
Latest Waze on Galaxy S7 Android 8.0
Waze FAQ UK Wazeopedia UK Forum
[ img ][ img ][ img ][ img ]
woodvale
Area Manager
Area Manager
 
Posts: 3138
Joined: Fri Feb 24, 2012 10:54 am
Location: Croydon, UK
Has thanked: 630 times
Been thanked: 1045 times

Re: [Script] WME Restriction Manager

Postby JustinS83 » Mon Oct 15, 2018 1:59 pm

This sounds great and like something that we've been talking about needing for quite a while!

Could you add some screenshots of the implementation to the initial post? This way we can see what the implementation looks like and what to expect once the script is installed.

Also, it should be noted that the restriction has to be applied to the segment before it can be saved - I tried adding a restriction to a segment and saving it before hitting Apply and it was not saved.
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1336
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 339 times
Been thanked: 2369 times

Re: [Script] WME Restriction Manager

Postby kjg53 » Mon Oct 15, 2018 3:07 pm

Woodvale,
That's a good idea. I must warn you that it might be a while before I have time to implement it.

JustinS83,
Thanks for the advice. I've added the images and a warning about applying before saving.
kjg53
Map Raider
Map Raider
 
Posts: 360
Joined: Fri Oct 24, 2014 5:05 am
Location: Pearland, Texas, USA
Has thanked: 141 times
Been thanked: 51 times

Re: [Script] WME Restriction Manager

Postby JustinS83 » Mon Oct 15, 2018 3:20 pm

kjg53 wrote:Woodvale,
That's a good idea. I must warn you that it might be a while before I have time to implement it.

JustinS83,
Thanks for the advice. I've added the images and a warning about applying before saving.

Looks good!

Thanks for working on this - it has been long discussed as something that would be beneficial
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1336
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 339 times
Been thanked: 2369 times

Re: [Script] WME Restriction Manager

Postby russblau » Wed Oct 17, 2018 3:01 pm

This looks like a great help. However, it seems to work only for segment restrictions, not turn restrictions. The script's controls (sometimes) appear while editing turn restrictions, but applying a saved restriction doesn't seem to do anything.
[ img ] [ img ] [ img ]
MAR MSM; State Manager: District of Columbia
russblau
State Manager
State Manager
 
Posts: 1488
Joined: Fri Oct 19, 2012 11:36 pm
Has thanked: 296 times
Been thanked: 642 times

Re: [Script] WME Restriction Manager

Postby juliansean » Wed Oct 17, 2018 8:28 pm

I used this script for the change of restrictions on our EZ-Pass only toll roads and it saved so much time! Thank you @kjg53.

Sean
Sean Julian
SM: TX, LA, MS, AR, OK
AM: SE FL, Boston, MA, Brooklyn, NY, Bronx, NY, Manhattan, NY, Queens, NY, E CA, SW KS

[ img ][ img ][ img ][ img ][ img ]
juliansean
State Manager
State Manager
 
Posts: 963
Joined: Mon Jul 04, 2016 3:33 am
Has thanked: 448 times
Been thanked: 305 times

Re: [Script] WME Restriction Manager

Postby itzwolf » Thu Oct 18, 2018 12:55 pm

Definitely looking forward to putting this script to use, thanks for coming up with this!
Southeast Assistant Regional Coordinator
US Local Champ / US Country Manager
Partnerships Coordinator

SER Wiki | SER Discord Chat

[ img ][ img ][ img ][ img ][ img ][ img ]
itzwolf
Coordinators
Coordinators
 
Posts: 1080
Joined: Tue May 19, 2015 2:05 am
Location: Florida
Has thanked: 1162 times
Been thanked: 216 times

Re: [Script] WME Restriction Manager

Postby kjg53 » Thu Oct 18, 2018 10:17 pm

Updated to version 1.1 which blocks the script from running when editing turn restrictions.

Thanks for the positive feedback.
kjg53
Map Raider
Map Raider
 
Posts: 360
Joined: Fri Oct 24, 2014 5:05 am
Location: Pearland, Texas, USA
Has thanked: 141 times
Been thanked: 51 times

Re: [Script] WME Restriction Manager

Postby ramblinwreck_81 » Fri Oct 26, 2018 12:41 pm

Ugggh. I was wishing for something like this for initial opening of Georgia's Northwest Corridor express lanes.

Thank you.
USA Country Manager; Georgia State Manager

[ img ][ img ]
utile, simplicitate, retentione
Join the Southeast Region Discord Channel
ramblinwreck_81
Country Manager
Country Manager
 
Posts: 542
Joined: Sun Oct 12, 2014 1:05 pm
Location: I dunno. Thankfully, I have Waze.
Has thanked: 134 times
Been thanked: 183 times

Next

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: n4dog