Moderators: Unholy, bextein, Glodenox, JustinS83
// ==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].*/",
},
anyway...why are these features removed?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.
this layer is in the editor for some weeks now, it's original waze stuffThortok2000 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.)
.
Return to Addons, Extensions, and Scripts
Users browsing this forum: Google Feedfetcher, ldriveskier, Mapman44