[Script] WME Route Speeds (Traffic)

Fixed version of route speeds by MapOMatic

Forum post:
https://www.waze.com/forum/viewtopic.php?f=819&t=105839&start=170#p1560939

Working version
Mode edit: https://greasyfork.org/en/scripts/369630-wme-route-speeds-mapomatic-fork

[hide]Edit: previous version
NOT WORKING
WME Route Speeds 1.2.6.1 is available here: https://greasyfork.org/scripts/5402-wme-route-speeds[/hide]

Original authorship is by wlodek76 – subsequent developments may have been done by someone else, we’re not sure. :slight_smile:

============== original post ======

Looks awesome!

One feature suggestion (that may be beyond the reasonable request – not sure) is some way to compare two routes. I.e. be able to say “go from A to B, via C” so that we can see why a different route (perhaps the way our instinct would have taken us) wasn’t chosen.

+1. If there’s an alternate specified in LiveMap, display that too. Also, crosstimes based on time of day?

I’m going to revise my earlier statement:
this is FREAKING AWESOME!

One other feature idea: add a time-of-day selector that can be passed to Livemap. This will allow for even better diagnosis of strange routes at different times of the day.

Great idea and implementation!

I have a problem. Same segment on same direction displays different speed depending on the start and endpoint. Of course the segment is in the middle of the route not at the ends.

That would be due to the routing request returned from Waze and not the script per se.

I’m not understanding this (and would like to). The speed data isn’t delivered with the route is it?

Segment length and crosstime are, so it is easy enough to derive speed. This is available in the LiveMap now but not exposed in the user interface.

It’s different than the “average speed” we used to have in WMECH, which was actually using segment attributes from the editor and not a LiveMap routing request.

Amazing!! :applause:

SO glad you did this! It’s almost exactly what I was trying to do with the WME Average Segment speed data about a year ago, but didn’t have the chops. This is better, because it’s based on better data. Kudos! Also looking forward to the comparative routes. :wink:

Could you include a check box to show mph instead of km/h when selected? Just divide km/h by 1.609 to get mph!

Likely would. But just looking at it a bit with mph selected and the current color scheme, its plenty useful.

I cant see the RouteSpeeds tab, is this script incompatible with any other?

Clicking two segments does show “Show routes between these two segments”.

Chrome Canary + Tampermonkey
Windows 7 x64
Developer mode: on

Its working fine in normal Chrome, not sure if its the script or tampermonkey. Trying to find out.

EDIT: reloaded a bunch of stuff and now it works, no clue what the issue was

I’m seeing an unexpected behavior. I wasn’t even trying to check speeds here, just highlighted first the left, then the right segment, for a permalink. Then this happened:
Road Speed Checker Western exits SB.jpg

Then I started testing other things and found this, right segment selected first (elevations checked, and they’re separated):
Road Speeds Western exits NB.jpg
Here’s what happens when I select the left segment first:
Road Speeds Western exits NB reversed.jpg
It looks like maybe there’s something going on when the centers of different segments are near to each other?

Well, the script doesn’t know why you’re selecting two segments, just that you are. It’s very easy to disable the script for this reason.

Look again. I added a couple more examples. It’s not that it displayed road speeds, it’s where it displayed them.

Try routing from the same points on the live map. The destination and origin points will prefer to avoid ramps and freeway segments when there are alternatives nearby.

Good point, though I will say that it depends on where on the ramps I click. Thanks.

Maybe wlodek can fix that, too? :lol:

This script is fun and I am now looking at how to actually use it to troubleshoot things like URs. Thanks for your work on this!

REQuest: Could you try to make it so when I drag the A or B marker to the edge of the map window, that the map pans that direction? This would allow us to drag a marker to spots just off the visible area without having to manually pan/zoom the map to see that other location first.

I think then you should be able to see different speeds for different times, I guess.