Switch to full style
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.

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.
Post a reply

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Mon Feb 23, 2015 8:33 am

Thanks

Re: [Script] WME Validator 1.1.6 / 06.01.2015

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

Re: [Script] WME Validator 1.1.6 / 06.01.2015

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

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Wed Feb 25, 2015 6:41 am

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

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


I know this example does not work

Any tips

Thanks

Re: [Script] WME Validator 1.1.6 / 06.01.2015

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:
${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

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Wed Feb 25, 2015 5:07 pm

Hi guys

Its not working as expected

Cut and paste from validator just in case

Code:
${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

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Wed Feb 25, 2015 8:48 pm

Thanks guys

It appears to be working now

I'm finding stuff you would now normally find.

In the big picture im not sure how important it is through?

e.g.
Kiara st, Marayong
Pippitta st, Marayong

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Wed Feb 25, 2015 8:53 pm

Just for interest if I want to change ${typeRank} to add other street types?

Code:
1:  Runway
2:  Railroad
3:  Stairway
4:  Pedestrian Boardwalk
5:  Walking Trail
6:  Private Road
7:  Parking Lot Road
8:  Dirt Road
9:  Service Road
10: Street
11: Primary Street
12: Ramp

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Wed Feb 25, 2015 9:22 pm

Do we need a wiki page for validator custom searches

Its getting hard to find stuff in this thread

Re: [Script] WME Validator 1.1.7 / 06.03.2015

Wed Apr 01, 2015 6:17 am

Hi Guys

I would like some help with a custom search.

I'm finding correct abbreviations for street names

Code:
${street}
!/( Rd| St|^$)$|^(State |The )/


Don't find any names ending in "Rd", "St" or "blank" or beginning with "State" or "The"


I would like to change the above search, plus only for

Street
primary street

In another search I would like to be able to search only for

Street
primary street
Ramp
Minor Highway
Major Highway
Freeway

Thanks
Post a reply