[Script] WME Validator 2020.04.12 (PLACES BETA)

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.

Re: [Script] WME Validator 1.1.2 / 01.10.2014

Postby sketch » Wed Oct 01, 2014 7:28 am

No, that button only deactivates Toolbox highlights, like for elevation, lock level, and soft turns. It does not disable any of Toolbox's other features. What you're seeing is a corrupted version of the Toolbox segment list.
ALL US EDITORS READ: New USA road type guidance
assistant regional coordinator • south central region • usa
waze global champ • beta leader • tier one • new orleans
2017 chevrolet ss sedan 6mt • slipstream blue metallic
[ img ] [ img ]
sketch
Waze Global Champs
Waze Global Champs
 
Posts: 6532
Joined: Sat Aug 08, 2009 6:13 pm
Location: Nouvelle-Orléans, Louisiane, États-Unis
Has thanked: 2201 times
Been thanked: 2662 times

Re: [Script] WME Validator 1.1.3 / 07.10.2014

Postby sketch » Fri Oct 17, 2014 7:43 pm

voludu2 wrote:I am seeing inconsistencies with custom template/regexp highlighting, This makes it somewhat less useful than it could be for identifying "state smudging" [. . .]

I don't think this is a problem with Validator, but rather a problem with WME not loading all segment details fully. I notice this most prevalently after saving. If you click on one of these not-highlighted segments, does the highlight show up? Clicking on the segment forces WME to look at the segment info, because it has to display it.

Bookmarklets that operate on everything on the screen will also sometimes make WME load all that info as well. Sometimes, if I run a geometry simplifier bookmarklet, the highlights will then show up.
ALL US EDITORS READ: New USA road type guidance
assistant regional coordinator • south central region • usa
waze global champ • beta leader • tier one • new orleans
2017 chevrolet ss sedan 6mt • slipstream blue metallic
[ img ] [ img ]
sketch
Waze Global Champs
Waze Global Champs
 
Posts: 6532
Joined: Sat Aug 08, 2009 6:13 pm
Location: Nouvelle-Orléans, Louisiane, États-Unis
Has thanked: 2201 times
Been thanked: 2662 times

Re: [Script] WME Validator 1.1.3 / 07.10.2014

Postby sketch » Sun Oct 19, 2014 2:57 pm

berestovskyy wrote:1. Validator skips all checks for locked segments, which were updated after the 2014-05-01. There is a message in the segment's properties for that. We mark "exceptions" this way.

By "locked", do you mean any lock at all, or just locks past a certain level? Because if it's any locks, it can be a problem where a segment is locked at level 2, and an inexperienced level 2 editor makes changes after May 2014, but doesn't clear the problem.
ALL US EDITORS READ: New USA road type guidance
assistant regional coordinator • south central region • usa
waze global champ • beta leader • tier one • new orleans
2017 chevrolet ss sedan 6mt • slipstream blue metallic
[ img ] [ img ]
sketch
Waze Global Champs
Waze Global Champs
 
Posts: 6532
Joined: Sat Aug 08, 2009 6:13 pm
Location: Nouvelle-Orléans, Louisiane, États-Unis
Has thanked: 2201 times
Been thanked: 2662 times

[Script] WME Validator 1.1.3 / 07.10.2014

Postby sketch » Sun Oct 19, 2014 4:31 pm

Ok great! So for me it will show all highlights, even if edited yesterday. Just wanted to make sure nothing changed. I like that lower level users can see older locked errors so they can submit an unlock or update request.
ALL US EDITORS READ: New USA road type guidance
assistant regional coordinator • south central region • usa
waze global champ • beta leader • tier one • new orleans
2017 chevrolet ss sedan 6mt • slipstream blue metallic
[ img ] [ img ]
sketch
Waze Global Champs
Waze Global Champs
 
Posts: 6532
Joined: Sat Aug 08, 2009 6:13 pm
Location: Nouvelle-Orléans, Louisiane, États-Unis
Has thanked: 2201 times
Been thanked: 2662 times

Re: [Script] WME Validator 1.1.4 / 07.11.2014

Postby sketch » Tue Nov 11, 2014 8:23 pm

Hi, none of my highlights are working, I think since the recent maintenance update. I've tried with all other scripts disabled. The Validator layer is enabled, and "Highlight issues on the map" is enabled. Thanks.
ALL US EDITORS READ: New USA road type guidance
assistant regional coordinator • south central region • usa
waze global champ • beta leader • tier one • new orleans
2017 chevrolet ss sedan 6mt • slipstream blue metallic
[ img ] [ img ]
sketch
Waze Global Champs
Waze Global Champs
 
Posts: 6532
Joined: Sat Aug 08, 2009 6:13 pm
Location: Nouvelle-Orléans, Louisiane, États-Unis
Has thanked: 2201 times
Been thanked: 2662 times

Re: [Script] WME Validator 1.1.4 / 07.11.2014

Postby sketch » Tue Nov 11, 2014 9:40 pm

They're working fine in beta, but not in production. Weird. I reinstalled Validator, still the same.
ALL US EDITORS READ: New USA road type guidance
assistant regional coordinator • south central region • usa
waze global champ • beta leader • tier one • new orleans
2017 chevrolet ss sedan 6mt • slipstream blue metallic
[ img ] [ img ]
sketch
Waze Global Champs
Waze Global Champs
 
Posts: 6532
Joined: Sat Aug 08, 2009 6:13 pm
Location: Nouvelle-Orléans, Louisiane, États-Unis
Has thanked: 2201 times
Been thanked: 2662 times

Re: [Script] WME Validator 1.1.4 / 07.11.2014

Postby sketch » Wed Nov 12, 2014 2:38 am

...You know, I think that might be what it was. I filtered all the checks but one custom check to look for negative elevations back home. Maybe I forgot to take that out. Crap.

I'll never know for sure, since I deleted the localstorage key and started from scratch :D
ALL US EDITORS READ: New USA road type guidance
assistant regional coordinator • south central region • usa
waze global champ • beta leader • tier one • new orleans
2017 chevrolet ss sedan 6mt • slipstream blue metallic
[ img ] [ img ]
sketch
Waze Global Champs
Waze Global Champs
 
Posts: 6532
Joined: Sat Aug 08, 2009 6:13 pm
Location: Nouvelle-Orléans, Louisiane, États-Unis
Has thanked: 2201 times
Been thanked: 2662 times

Re: [Script] WME Validator 1.1.4 / 07.11.2014

Postby sketch » Thu Nov 13, 2014 6:30 pm

Olestas wrote:Wow, now can buttons be added to disable/enable custom checks? :D

It's really easy to do this, one way is to do the "!128" or whatever the number is, but the easier way is just to insert a space or some other character in the regex or template field to break the check :D
ALL US EDITORS READ: New USA road type guidance
assistant regional coordinator • south central region • usa
waze global champ • beta leader • tier one • new orleans
2017 chevrolet ss sedan 6mt • slipstream blue metallic
[ img ] [ img ]
sketch
Waze Global Champs
Waze Global Champs
 
Posts: 6532
Joined: Sat Aug 08, 2009 6:13 pm
Location: Nouvelle-Orléans, Louisiane, États-Unis
Has thanked: 2201 times
Been thanked: 2662 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby sketch » Wed Feb 25, 2015 8:19 pm

PesachZ wrote:
ispyisail wrote:Hi guys

Its not working as expected

Cut and paste from validator just in case

Code: Select all
${typeRank}:${street}
/^1[01]:.*( [a-z)|([A-Z]{2})


It picked up many road but not what i was after

examples

Crawford Rd
Fonterra Te Rapa
Piwakawaka Court
Arncliffe Tce

Thoughts?

Thanks

Missing closing square bracket

I think this is looking for any road type 10 or 11, which has in the name a string of space, followed by two characters which be any lowercase or uppercase, or parentheses or a pipe or opening square bracket. Basically I think it is matching any two consecutive letters "case insensitive" or any of the following [()|

Regardless of what exactly it is matching try this to fix it. This still only looks for matches on road type 10 or 11

Code: Select all
${typeRank}:${street}
/^1[01]:.*( [a-z])|([A-Z]{2})

Sent using Tapatalk for Android 4.4.2

You got too many parentheses in there. Do this:
Code: Select all
${typeRank}:${street}
/^1[01]:.*( [a-z]|[A-Z]{2})

Options work like this (option 1|option 2), not like this (option 1)|(option 2).
ALL US EDITORS READ: New USA road type guidance
assistant regional coordinator • south central region • usa
waze global champ • beta leader • tier one • new orleans
2017 chevrolet ss sedan 6mt • slipstream blue metallic
[ img ] [ img ]
sketch
Waze Global Champs
Waze Global Champs
 
Posts: 6532
Joined: Sat Aug 08, 2009 6:13 pm
Location: Nouvelle-Orléans, Louisiane, États-Unis
Has thanked: 2201 times
Been thanked: 2662 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby sketch » Wed Feb 25, 2015 9:18 pm

This is what I have written down. I haven't verified or updated it recently. For example, you can see that Ferry isn't in there.
Code: Select all
typeRank
15 freeway
14 major highway
13 minor highway
12 ramp
11 primary street
10 street
9 service road
8 dirt road
7 parking lot road
6 private road
5 walking trail
4 pedestrian bdwk
3 stairway
2 railroad
1 runway


type
1 street
2 primary street
3 freeway
4 ramp
5 walking trail
6 major hwy
7 minor hwy
8 dirt
9
10 ped boardwalk
11
12
13
14
15
16 stairway
17 private road
18 railroad
19 runway
20 parking lot road
21 service road
ALL US EDITORS READ: New USA road type guidance
assistant regional coordinator • south central region • usa
waze global champ • beta leader • tier one • new orleans
2017 chevrolet ss sedan 6mt • slipstream blue metallic
[ img ] [ img ]
sketch
Waze Global Champs
Waze Global Champs
 
Posts: 6532
Joined: Sat Aug 08, 2009 6:13 pm
Location: Nouvelle-Orléans, Louisiane, États-Unis
Has thanked: 2201 times
Been thanked: 2662 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: jm6087