[Script] WME Validator v2020.11.1 (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.4 / 07.11.2014

Postby ispyisail » Fri Nov 07, 2014 4:34 am

This, like the check for Revcons, was "broken" during the WME update a couple of months ago (the one that broke nearly every feature of Toolbox) because it changed how the turn restrictions were attached to the segment vs junction.


So this is a known issue? I wonder if going to be fixed?

I need this feature bad.................

Validator is as important as my wife, not necessarily in this order :)
New Zealand and Papua New Guinea Country Manager
[ img ][ img ][ img ]
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3369
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 564 times
Been thanked: 568 times

Re: [Script] WME Validator 1.1.4 / 07.11.2014

Postby ispyisail » Fri Nov 07, 2014 4:43 am

One could argue that they should be soft turns then it doesn't matter................but that is another story
New Zealand and Papua New Guinea Country Manager
[ img ][ img ][ img ]
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3369
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 564 times
Been thanked: 568 times

Re: [Script] WME Validator 1.1.4 / 07.11.2014

Postby ispyisail » Wed Nov 12, 2014 5:28 pm

..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.


Been there, done that :)
New Zealand and Papua New Guinea Country Manager
[ img ][ img ][ img ]
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3369
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 564 times
Been thanked: 568 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby ispyisail » Mon Feb 23, 2015 8:13 am

Anybody know to make custom script to find street names with all capital letters

Thanks
New Zealand and Papua New Guinea Country Manager
[ img ][ img ][ img ]
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3369
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 564 times
Been thanked: 568 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby ispyisail » Mon Feb 23, 2015 8:33 am

Thanks
New Zealand and Papua New Guinea Country Manager
[ img ][ img ][ img ]
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3369
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 564 times
Been thanked: 568 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby ispyisail » Mon Feb 23, 2015 7:03 pm

Thanks guys

The first example seamed to work but after some thought how about this

I want to find any street name with 2 capital letters in a row

e.g.

SMith Rd
Smith RD
SmiTH Rd
sMIth RD
SMith-bob Rd
bob-bob RD

or even harder

Any street name that does not have a capital at the start and after any space

Smith Smith Smith Rd = Pass
Smith Smith Smith rd = Fail
Smith smith Smith Rd = Fail
etc

If the second example is possible don't worry about the first example
New Zealand and Papua New Guinea Country Manager
[ img ][ img ][ img ]
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3369
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 564 times
Been thanked: 568 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby ispyisail » Mon Feb 23, 2015 11:16 pm

Question

We are looking at a map raid in Australia.

I would like to scan the assigned area with rules to create an errors file

Is it possible to export this file to a CSV file or similar to google docs from validator?

Thanks
New Zealand and Papua New Guinea Country Manager
[ img ][ img ][ img ]
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3369
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 564 times
Been thanked: 568 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby ispyisail » Wed Feb 25, 2015 6:41 am

I've decided that I only want this for "Street" and "Primary street"

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


I know this example does not work

Any tips

Thanks
New Zealand and Papua New Guinea Country Manager
[ img ][ img ][ img ]
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3369
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 564 times
Been thanked: 568 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby ispyisail » Wed Feb 25, 2015 4:56 pm

crazycaveman wrote: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


Thanks
New Zealand and Papua New Guinea Country Manager
[ img ][ img ][ img ]
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3369
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 564 times
Been thanked: 568 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby ispyisail » Wed Feb 25, 2015 5:07 pm

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
New Zealand and Papua New Guinea Country Manager
[ img ][ img ][ img ]
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3369
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 564 times
Been thanked: 568 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: Google [Bot], JimboBaggins1966, jm6087, Mapman44, Mythdraug, RichardPyne