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 by Timbones
berestovskyy wrote:Does this non-ground elevation affects TTS or routing?
No, it does not. Fixing these does not add any value to the map. Move along!
Timbones
Coordinators
Coordinators
Posts: 7358
Answers: 2
Has thanked: 954 times
Been thanked: 2916 times
Send a message
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by Timbones
berestovskyy wrote:Alan just said this hasHNs attribute was implemented long time ago. <snip>

Anyway, I noticed and tested this attribute and it worked OK.
In my testing, the hasHNs attribute is only set to true immediately after editing the house numbers.
As soon as you reload the map, or pan away to another location, it becomes false again.
This attribute is only set by the WME code, but not included in the model data from the server.

:(
Timbones
Coordinators
Coordinators
Posts: 7358
Answers: 2
Has thanked: 954 times
Been thanked: 2916 times
Send a message
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by Timbones
CBenson wrote:Maybe this should be split off for further discussion.
Discussion about non-drivables split into new thread: Routing Via Non-Drivables?
Timbones
Coordinators
Coordinators
Posts: 7358
Answers: 2
Has thanked: 954 times
Been thanked: 2916 times
Send a message
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by Timbones
I restricted a similar feature in Colour Highlights extension, not for privacy reasons but to make the interface simpler for novice users. I think I only limited it to AMs, however.
Timbones
Coordinators
Coordinators
Posts: 7358
Answers: 2
Has thanked: 954 times
Been thanked: 2916 times
Send a message
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by Timbones
lg1992 wrote::shock: The new beta version of WME doesn't have the "Me" tab, so the Validator isn't shown at all!
Maybe it's time for a dedicated Validator tab at the top, like other scripts do?
Timbones
Coordinators
Coordinators
Posts: 7358
Answers: 2
Has thanked: 954 times
Been thanked: 2916 times
Send a message
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by Timbones
xanderb wrote:I would like to make a custom check that looks for missing speed limits on freeway segments. Is there a ${speed} available or coming to use?
I'd like to be able to check for incorrect speed limits, i.e. any that don't end in 0 (for my country). It will be necessary to have ${speed-kmh} and ${speed-mph}, so that checks can be done against the appropriate units. I know I've accidentally input some speeds with the wrong units, so that would be a good check to add to a localisation pack.

Note to developer: fwd/revMaxSpeedUnverified == true should count as a missing speed limit, even if fwd/revMaxSpeed is set. Editors will need to verify these.
Also, watch out for 1 way segments that only need 1 speed setting.
Timbones
Coordinators
Coordinators
Posts: 7358
Answers: 2
Has thanked: 954 times
Been thanked: 2916 times
Send a message
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by Timbones
Someone could create a library of functions for script editors, including one for creating a new tab. Then the script editor doesn't need to learn how to do it, or maintain the code...

(WME Geometries lives in the Drives tab. Some people struggle to find at first, so maybe it should have it's own tab too)

Sent from my Nexus 4 using Tapatalk
Timbones
Coordinators
Coordinators
Posts: 7358
Answers: 2
Has thanked: 954 times
Been thanked: 2916 times
Send a message
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by Timbones
stefan147 wrote:Is it possible to highlight freeways without Speedlimit?
Try the Colour Highlights extension instead (see sig)
Timbones
Coordinators
Coordinators
Posts: 7358
Answers: 2
Has thanked: 954 times
Been thanked: 2916 times
Send a message
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by timtamcan
Nazride wrote:
LysdexiaEht wrote:Validator more often than not fails to load.
Hello, same issue, i need to do multiple refresh for having validator available (editor normal version (no beta), chrome browser, editing in France)
Same issue here - editing in Australia on Chrome, normal WME. Only loads sometimes. Console is saying that its waiting for login - maybe it's a race condition?

EDIT - Interestingly when I breakpoint the log function and manually resume script execution it always works so definitely looks like a race condition.

EDIT #2 - I replaced the following line in F_INIT function (line 468 in other.js):

Code: Select all

async(F_ONLOGIN);
with this and it seems to have fixed it (hacky but better than nothing):

Code: Select all

var lc = setInterval(function() {
    if ((WLM.isLoggedIn && WLM.isLoggedIn()) || WLM.user) {
        if (!_WV.$loggedIn) F_ONLOGIN();
        clearInterval(lc);
    }
}, 1000);
If you want to use the version I modified (v2019.02.26) you can grab it here (requires Tampermonkey on Chrome/Firefox, remove the WME Validator Chrome extension if you have it):
timtamcan
Posts: 6
Has thanked: 1 time
Been thanked: 5 times
Send a message

Post by tomi43
WME Validator - Raport
wygenerowane przez tomi43 na 2016-02-07

Źródło raportu: No City

SLOW: Brak połączenia w węźle B (#108)
Węzeł B segmentu jest w odległości od innego, również przejezdnego segmentu, ale nie są połączone skrzyżowaniem.
Przeciągnij węzeł B na najbliższy segment, by się dotykały, lub odsuń go dalej.

No City Podsumowanie
Liczba sprawdzonych segmentów: 4
Zaraportowane błędy - 1 (250‰)

Żeby zmotywować mnie do pracy nad skrpytem, zostaw komentarz w Waze forum thread.

Dziękuję za używanie WME Validator!
tomi43
Posts: 3
Send a message