After fighting a little bit with the WME’s UI, here is a simple script that helps inputting the road width values.
Installation link: https://github.com/bedo2991/wme-road-width-helper/releases/latest/download/release.user.js
Instructions
- Select one or more one-way segments.
- Use one of the keyboard shortcuts listed below to change the segments’ lane width.
The first time you use a shortcut, a preference panel appears on the WME. There you can set a value for the lane width to be used every time a shortcut gets pressed. When empty, the WME’s default lane-width for the selected road type gets used.
Default Shortcuts
- 1 to 9 (not from the NumPad): set the selected segments as x lanes width.
- 0 (not from the NumPad): remove all width-related lanes information from the selected segments.
-
- increase the lanes width of 0.1m (fixed*)
-
- decrease the lanes width of 0.1m (fixed*)
*You may change the numeric shortcuts in the WME’s key shortcuts panel. Plus and minus can’t be changed.
Known issues:
- The preference panel can’t be moved.
- It only supports one-way segments.
- Values set in the preference panel are not persistent.
I am open to ideas and suggestions, but I am not planning to put too much effort in this script.
Recommended accessory script, to see the road width on the WME (SVL): https://github.com/bedo2991/svl/releases/latest/download/release.user.js
F.A.Q.
About this script:
- “Apply default value” checkbox (enabled by default): when selected, the current WME’s default value gets inserted as the segment lane width. This assures that if the country-specific default values change, all values that you have inserted don’t change. This is also a clever choice for countries which have lane widths which are not related to the WME road type (i.e.: mapping stuff as major highway for routing…). When unchecked, if you try setting the same width as the current default, the input field is left empty (and Waze will use the road-type default value for your country).
About SVL:
- The width that SVL shows includes the entire drawn segment, not just the colored part. For example, if the segment is a bridge, i.e. elevation > 0 (shown with 2 black lines at the edges), those lines are also part of the total segment width.
- The width shown by SVL takes into consideration that Earth isn’t flat, so the width displayed should be rather accurate (if you don’t believe me, you can try it yourself on a place with a known size like a volleyball court).
