[Script] WME Validator 1.1.8 / 07.05.2015

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.

Moderator: Unholy

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.0.2 / 04.07.2014

Postby manoeuvre » Mon Aug 04, 2014 1:04 am

Thanks for the work-around!
ImageImageImageImageImageImage
Canadian Country Manager | Greater Toronto Area Manager | @WazeChamp

Greater Toronto Area PUR MapRaid | Signup | Discussion
manoeuvre
Local Champ Mentor
Local Champ Mentor
 
Posts: 1984
Joined: Thu Mar 20, 2014 3:05 am
Location: Canada
Has thanked: 609 times
Been thanked: 736 times

Re: [Script] WME Validator 1.0.2 / 04.07.2014

Postby manoeuvre » Mon Aug 04, 2014 2:34 am

ImageImageImageImageImageImage
Canadian Country Manager | Greater Toronto Area Manager | @WazeChamp

Greater Toronto Area PUR MapRaid | Signup | Discussion
manoeuvre
Local Champ Mentor
Local Champ Mentor
 
Posts: 1984
Joined: Thu Mar 20, 2014 3:05 am
Location: Canada
Has thanked: 609 times
Been thanked: 736 times

Re: [Script] WME Validator 1.1.1 / 30.08.2014

Postby manoeuvre » Wed Sep 03, 2014 4:12 am

Unable to get my custom localization script to work.

I'm trying to fix street name abbreviations with the first one. The second one is to fix roads with the name St, which should be St. (Saint).

Any ideas what i'm doing wrong? Not able to get anything to highlight.

Code: Select all
// ==UserScript==
// @name                WME Validator Localization for Canada
// @version             1.1.1
// @description         This script localizes WME Validator for Canada. You also need main package (WME Validator) installed.
// @match               https://editor-beta.waze.com/*editor/*
// @match               https://www.waze.com/*editor/*
// @grant               none
// @run-at              document-start
// ==/UserScript==
//
/*
  See Settings->About->Available checks for complete list of checks and their params.

  Examples:

  Enable #170 "Lowercase street name" but allow lowercase "exit" and "to":
    "170.enabled": true,
    "170.params": {
        "regexp": "/^((exit|to) )?[a-z]/",
    "},

  Enable #130 "Custom check" to find a dot in street names, but allow dots at Ramps:
    "130.enabled": true,
    "130.params": {
        "titleEN": "Street name with a dot",
        "problemEN": "There is a dot in the street name (excluding Ramps)",
        "solutionEN": "Expand the abbreviation or remove the dot",
        "template": "${type}:${street}",
        "regexp": "D/^[^4][0-9]?:.*\\./",
    },
    *Note: use D at the beginning of RegExp to enable debugging on JS console.
    *Note: do not forget to escape backslashes in strings, i.e. use "\\" instead of "\".
*/

window.WME_Validator_Canada = {
  ".country": "Canada",
  ".codeISO": "CA",
  ".author": "manoeuvre",
  ".updated": "2014-09-03",
  ".link": " : "

},
     
"171.enabled": true,
"171.severity": "warning",
"171.params": {
    "titleEN": "Wrong Abbreviation",
    "problemEN": "Street name has the wrong abbreviation",
    "solutionEN": "Use the correct abbreviation",
    "template": "${type}:${street}",
    "regexp": "/ (Aly|Avenue|Bnd|Boulevard|By-pass|Centre|Center|Circle|Cl|Court|Cr|Ct|Crescent|Cul-de-sac|Drive|Extension|Fld|Gardens|Gln|Grn|Grounds|Grv|Harbour|Harbr|Heights|Highway|Hl|Holw|Landing|Landng|Ln|Mnr|Mdw|Mountain|Orchard|Park|Parkway|Passage|Pass|Ptwy|Place|Pt|Prt|Pvt|Promenade|Rg|Rdge|Road|Square|Subdiv|Street|Terrace|Ter|Trl|Tr|Thick|Tline|Turnabt|Village|Villge|North|East|South|West)$/i",
},

"174.enabled": true,
"174.severity": "warning",
"174.params": {
    "titleEN": "St. not St",
    "problemEN": "St. not St",
    "solutionEN": "Use St. instead of St",
    "template": "${type}:${street}",
    "regexp": "^St.[A-Z].[a-z].*/",
},
ImageImageImageImageImageImage
Canadian Country Manager | Greater Toronto Area Manager | @WazeChamp

Greater Toronto Area PUR MapRaid | Signup | Discussion
manoeuvre
Local Champ Mentor
Local Champ Mentor
 
Posts: 1984
Joined: Thu Mar 20, 2014 3:05 am
Location: Canada
Has thanked: 609 times
Been thanked: 736 times

Re: [Script] WME Validator 1.1.2 / 01.10.2014

Postby manoeuvre » Wed Oct 01, 2014 2:37 am

Image

edit: nvm, I just upgraded... working now :oops:
Last edited by manoeuvre on Wed Oct 01, 2014 2:40 am, edited 1 time in total.
ImageImageImageImageImageImage
Canadian Country Manager | Greater Toronto Area Manager | @WazeChamp

Greater Toronto Area PUR MapRaid | Signup | Discussion
manoeuvre
Local Champ Mentor
Local Champ Mentor
 
Posts: 1984
Joined: Thu Mar 20, 2014 3:05 am
Location: Canada
Has thanked: 609 times
Been thanked: 736 times

Re: [Script] WME Validator 1.0.3 / 04.08.2014

Postby marcedli » Mon Aug 04, 2014 7:56 pm

iainhouse wrote:
PesachZ wrote:All the U-turns and unconfirmed turn highlighting has been removed. Thank you.


Could we please have the highlighting of dead-end u-turns turned back on for the UK, please?

As discussed elsewhere on the forums, we still consider them a real problem. We had Waze mass-disable every u-turn on the UK map. Unfortunately, the routing engine keeps enabling new ones where the disabled u-turn is "soft". With the arrows already removed, it will be difficult to diagnose problems involving u-turns unless we can see them, not to mention the routing problems we still see them causing.
anyway...why are these features removed?

please explain
Image
Country Coordinator Hungary
http://waze.hu
http://facebook.com/waze.hu
kék Toyota Hi-Ace vagy Yaris
marcedli
Coordinators
Coordinators
 
Posts: 951
Joined: Wed May 25, 2011 4:20 pm
Has thanked: 283 times
Been thanked: 390 times

Re: [Script] WME Validator 1.1.7 / 06.03.2015

Postby marcedli » Fri Apr 10, 2015 6:03 pm

Thortok2000 wrote:I have a new layer called 'roads experimental' which I'm not sure if I'm getting from some script somewhere or if it's new in WME (I've been away from editing for a bit.)
.
this layer is in the editor for some weeks now, it's original waze stuff


Az én iPad készülékemről küldve a Tapatalk segítségével
Image
Country Coordinator Hungary
http://waze.hu
http://facebook.com/waze.hu
kék Toyota Hi-Ace vagy Yaris
marcedli
Coordinators
Coordinators
 
Posts: 951
Joined: Wed May 25, 2011 4:20 pm
Has thanked: 283 times
Been thanked: 390 times

Re: [Script] WME Validator 1.1.8 / 07.05.2015

Postby marcedli » Wed May 13, 2015 10:38 pm

The time you will develop the tool, you'll decide how to keep that updated, what switches you write in it.

Atm it's not you.

No offense, but it seems to me that this story is over for now, so move on, use the tool, edit!

Tapatalk-kal tapizva
Image
Country Coordinator Hungary
http://waze.hu
http://facebook.com/waze.hu
kék Toyota Hi-Ace vagy Yaris
marcedli
Coordinators
Coordinators
 
Posts: 951
Joined: Wed May 25, 2011 4:20 pm
Has thanked: 283 times
Been thanked: 390 times

Re: [Script] WME Validator 1.1.7 / 06.03.2015

Postby MarceloDuarteCool7 » Thu Mar 19, 2015 5:51 pm

Wow, very good work with this app. Things are way easier now! =)
Image
MarceloDuarteCool7
Area Manager
Area Manager
 
Posts: 12
Joined: Tue Mar 10, 2015 8:04 pm
Has thanked: 0 time
Been thanked: 8 times

Re: [Script] WME Validator 0.4.4 (BETA) / 09.01.2014

Postby markuschen » Thu Jan 09, 2014 11:27 pm

A small issue in Germany: "No space before ("1943r.") or after ("st.Jan") an abbreviation in the street name. Add a space before/after the abbreviation."
This happens at streetname "Dr.-Herbert-Eimert-Straße". Dr. is the shortform of Doktor (Doctor) and should not be marked as an error.
See here:
https://www.waze.com/de/editor/?zoom=6&lat=49.83162&lon=7.8827&layers=TBFTFFTTTTFTTTTTTTTTTTTTTT&segments=207710944&env=row
ImageImage
markuschen
State Manager
State Manager
 
Posts: 85
Joined: Fri May 24, 2013 7:49 am
Has thanked: 15 times
Been thanked: 10 times

Re: [Script] WME Validator 0.9.8 (BETA) / 15.04.2014

Postby MGODLEW » Thu Apr 24, 2014 4:00 am

I'd like to make a request for Validator. In Pennsylvania we have a lot of roads that have not had their primary names updated since the base map. For the example here the roads primary name is currently "T493" however the actual primary name is in the alternative "Hanny Beaver Rd" Is there a way you can color roads that are a letter & number? I'm no programmer or script writer but my guess is the script would be something like <If street name = character (T)(integer)(integer)(integer) then color = Lime Green> Is this possible to add? If not an "always on" feature then something that can be turned off and on.
Last edited by MGODLEW on Thu Apr 24, 2014 5:54 am, edited 1 time in total.
Image
Rank 6 US Champ, Waze Mentor & iOS Beta Tester | Waze Wishlist | Improper Edits | iPhone 6: JB iOS 8.1.2 |
Area Managing: State of Pennsylvania
MGODLEW
US Waze Champs
US Waze Champs
 
Posts: 1755
Joined: Tue Dec 20, 2011 6:39 pm
Location: Pennsylvania
Has thanked: 630 times
Been thanked: 583 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: No registered users