[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.1 / 30.08.2014

Postby crazycaveman » Sat Sep 20, 2014 10:08 am

Would it be possible to add a check for service roads in the USA? They have been deprecated and aren't to be used. Having them be highlighted (even if it's just as a note) would make it easier to remove them.
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 832
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 352 times
Been thanked: 522 times

Re: [Script] WME Validator 1.1.1 / 30.08.2014

Postby crazycaveman » Sat Sep 20, 2014 11:37 am

BellHouse wrote:
crazycaveman wrote:Would it be possible to add a check for service roads in the USA? They have been deprecated and aren't to be used. Having them be highlighted (even if it's just as a note) would make it easier to remove them.

You can achieve that with the following custom check:

Custom template: ${typeRank}
Custom regexp: 9

Yeah, I've been using that. I was just thinking that, since this is a country-wide guideline, it would help more people be aware not to use that road type. Also, it would free up one of my custom checks :D
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 832
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 352 times
Been thanked: 522 times

Re: [Script] WME Validator 1.1.1 / 30.08.2014

Postby crazycaveman » Sat Sep 20, 2014 10:26 pm

The problem is some service roads that have been added in my area should be sweet as private roads and not street. I'd prefer to find them and set the correctly before Waze changes all of them to street and starts trying to route on them. By my reckoning, it should be easy to add, but I wholly agree that those other checks are more needed and should be fixed first.
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 832
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 352 times
Been thanked: 522 times

Re: [Script] WME Validator 1.1.3 / 07.10.2014

Postby crazycaveman » Thu Oct 30, 2014 6:53 pm

Feature request:

Allow custom color settings for custom checks in a localization pack. For some checks, it would be nice to have a different color than the standard yellow/gold.
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 832
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 352 times
Been thanked: 522 times

Re: [Script] WME Validator 1.1.4 / 07.11.2014

Postby crazycaveman » Tue Nov 11, 2014 11:06 pm

Did you filter out any checks? You can always reset your preferences by going to settings and clicking reset defaults to see if that helps
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 832
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 352 times
Been thanked: 522 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby crazycaveman » Wed Feb 11, 2015 6:49 pm

Raiden38 wrote:Hi

I'm working on a script addon for WME Validator and I was wondering if you it would be possible to flag an error, if the street has no name, and it's a primary street or up?

Thanks!


How about this:
Code: Select all
"template": "${typeRank}#${street}@",
"regexp": "/^1[1-5]#@"

That will just check the primary street name and not the alts. If you need that, it might take a little more work to get it working right
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 832
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 352 times
Been thanked: 522 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby crazycaveman » Wed Feb 11, 2015 7:10 pm

Here are some examples of custom checks, with some explanations. If you go to the validator settings and hover over the custom template field, you'll get a list of all the checks you can use, as well.
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 832
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 352 times
Been thanked: 522 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby crazycaveman » Thu Feb 12, 2015 1:41 am

That is one thing I haven't figured out yet, but it would be useful.
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 832
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 352 times
Been thanked: 522 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby crazycaveman » Wed Feb 25, 2015 11:34 am

You need a .* in there before the opening parenthesis; also the typerank is wrong. Give this a try:
Code: Select all
${typeRank}:${street}
/^1[01]:.*( [a-z)|([A-Z]{2})


When you combine two checks like that, the regex tries to match it in the exact order you have it, which is why the .* is necessary
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 832
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 352 times
Been thanked: 522 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby crazycaveman » Thu Feb 26, 2015 6:20 pm

SuperDave, do you have any checks you're excluding from checking? You can tell Validator to hide highlights for certain checks but the check will still show in the left with the segment details. See this screenshot:
[ img ]
In this screenshot, I have check 129 (the blue custom check) excluded from being highlighted but everything else is highlighted (and ${typeRank} /7/ highlights PLRs for me in the PL voludu2 shared).

@sketch, it seems ferries are undefined, currently. Running a debug check in validator returns this:
Code: Select all
 WME Validator v1.1.6 debug log for segment 84430611, check #128:
1. Expand template: ${typeRank} -> undefined
2. Match RegExp: /.*/ -> ["undefined"]
=> REPORT the segment as #128 'User-defined custom check (green)'
[ img ][ img ] [ img ][ img ][ img ]
ARC: South Atlantic Region
crazycaveman
US Waze Champs
US Waze Champs
 
Posts: 832
Joined: Fri Sep 03, 2010 1:48 am
Location: Rock Hill, SC, USA
Has thanked: 352 times
Been thanked: 522 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: jm6087, Mapman44, markisoke, StretchNL