[Script] WME Speeds

The script highlights segment color by set speed (by 10 kph).

speeds.png

Dashed segment:

  • pink - segment has set only one speed (but segment is two-way)
  • dashed with speed color - segment has different speed color for A-B and B-A (color by lower speed)

scree-wme-2.jpg

You can download here: https://greasyfork.org/cs/scripts/12402-wme-speeds

Btw. It’s just a simple script for adding speeds to WME.

2 Likes

Thank you, that will be useful.

I have only a small suggestion:

Currently you may have two different colors for a *10 group
40 is pink red while 41-50 is light red and 51 is green. That could be a bit confusing to always remember when looking at the colors.

It could be easier for the brain to memorize colors for each *10 groups separately:
0-9
10-19
20-29
30-39
40-49
50-59
60-69 etc…
This it might be easier to spot certain speed ranges based on those groups. As you will know all 40’s are the same color and there isn’t one which is different and the fact of having to remember that the color also has one of the 50’s in its range.

If you’d prefer not to change it, how about making it an option that people can switch between the current and suggested color groups.

Thanks for suggestion. Maybe I will make change to highlight not decimal number (e.g. big dashes), because (I hope) decimal number is standard and speeds like 35kmph or 15kmph (17kmph :slight_smile: ) are not normal.

1 Like

New version with new dashes style:

dashes.jpg

  1. Different speeds for directions, both speeds are decimal (color by lower speed).
  2. Different speeds for directions, one speed are not decimal (color by lower speed).
  3. One speed missing (hard set pink color)
  4. Speeds are same, but not decimal (on one-way segment one non-decimal speed).
1 Like

Thanks for a very useful script. It’s very helpful in visualizing what segments have speeds set and what those speeds are.

I do have a problem with Dash style 4 (“non-decimal” speeds) since I’m in a miles/hour country.

30 mph is dashed, 31 mph is solid. 55 mph is dashed, 56 mph is solid. 45 and 70 (and the speeds near them) are all dashed.

I’m not sure if there is anything that can be done about this for miles/hour countries. If not, I’d suggest not trying to use Dash Style 4 for us.

Again, thanks. And sorry we’re not metric. :roll:

Thanks for this useful script.
I’f find also useful an option to highlight segments with no speed limit set. Is there plans to implement options for the script?

Thanks

I think it’s possible to allow miles/hour speeds.I think you need speeds like 10, 15, 20, 25, 30… to 80? 85? Or how much is maximum speed in mph?

There are some areas in Texas with a maximum speed of 85 miles/hour.

Thanks for considering this.

Why would you want to highlight the ones without speed limits, if it is easy to see them, because they currently are NOT highlighted? :smiley:

Because is difficult to spot isolated segments you missed setting the speed when most of the screen is highlighted.
Anyway, in the beta editor the color highlight script implemented it, so it’s covered now.
Gracias!

Enviado desde mi iPhone utilizando Tapatalk

Okey, new version is out.

  1. new tab with colors and some easy settings

  2. support miles (dashes is only in non-divisible 5 miles/hour segments) and max speed is 85

  3. highlight segments with no speed

  4. highlight segments, which cant set speeds, but it has (for example: segment with speed (street) updated to railroard)

  5. Available language translation

I’m getting a message that:

I don’t have it installed and wonder why it is required.

Yeah, did not know this, because had this installed. But other editors are also asking…

I have some problems in CZ without Chat Addon. Maybe there is some way to make script without this and I try it.

Suggestion: I changed the code to use transparent colors; If you like, you can include it in a new update:

//var wmeSpeedsColors =     ['#ff0000', '#321325', '#540804', '#BA1200', '#FA4A48', '#F39C6B', '#A7D3A6', '#ADD2C2', '#CFE795', '#F7EF81', '#BDC4A7', '#95AFBA', '#3F7CAC', '#0A369D', '#001C55'];
var wmeSpeedsOpacityColor = '0.4';
var wmeSpeedsColors =     ['rgba(255,0,0,'+wmeSpeedsOpacityColor+')', 'rgba(50,19,37,'+wmeSpeedsOpacityColor+')', 'rgba(84,8,4,'+wmeSpeedsOpacityColor+')', 'rgba(186,18,0,'+wmeSpeedsOpacityColor+')',
                           'rgba(250,74,72,'+wmeSpeedsOpacityColor+')', 'rgba(243,156,107,'+wmeSpeedsOpacityColor+')', 'rgba(167,211,166,'+wmeSpeedsOpacityColor+')', 
                           'rgba(173,210,194,'+wmeSpeedsOpacityColor+')', 'rgba(207,231,149,'+wmeSpeedsOpacityColor+')', 'rgba(247,239,129,'+wmeSpeedsOpacityColor+')', 
                           'rgba(189,196,167,'+wmeSpeedsOpacityColor+')', 'rgba(149,175,186,'+wmeSpeedsOpacityColor+')', 'rgba(63,124,172,'+wmeSpeedsOpacityColor+')', 
                           'rgba(10,54,157,'+wmeSpeedsOpacityColor+')', 'rgba(0,28,85,'+wmeSpeedsOpacityColor+')'];

New version

  • SK translation (if you want translate for your country, send me PM please :))
  • Smaller tab icon - Europe speed sign with “S” - https://www.waze.com/forum/viewtopic.php?f=819&t=165491
  • Option for transparent speed colors (thanks “jrcuelloalcaraz” - we had try this option previously, but now, when the script has some options is possible)
  • Saving options to local storage
  • Now Script don’t need Chat Addon (I hope!)

new version:

Highlight unverified speeds on segment.

hey,

can u add an option to disable he script, when it’s not needed?
also, the icon of script is almost invisible in the WME sidebar.

If you use Chrome you can disable/enable any scripts by clicking the Tampermonkey icon at the top. The enabled ones are displayed with a green circle and when disabled they are displayed with a red square.

I’m not sure how it works on Firefox though.

Similarly. Greasemonkey icon has a list of check boxes.

Okrauss, there is also an entry in the Layers list.

Sent from a touch display, which took care of perfectly scrambling my thoughts.

1 Like