Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
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.



Post by Raiden38
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!
Raiden38
Area Manager
Area Manager
Posts: 331
Has thanked: 131 times
Been thanked: 15 times
Send a message
iPhone 7, iOS 11, Beta Tester, From Quebec (Canada)
AM: Laval and North Shore, Trois-Rivières
https://s.waze.tools/s0025.pnghttps://s.waze.tools/c3.png

Post by Raiden38
Awesome, I will give it a try!

Is there somewhere I can get definition of $[typeRank], $[street], etc?
Raiden38
Area Manager
Area Manager
Posts: 331
Has thanked: 131 times
Been thanked: 15 times
Send a message
iPhone 7, iOS 11, Beta Tester, From Quebec (Canada)
AM: Laval and North Shore, Trois-Rivières
https://s.waze.tools/s0025.pnghttps://s.waze.tools/c3.png

Post by Raiden38
Awesome, Thanks!!!!
Raiden38
Area Manager
Area Manager
Posts: 331
Has thanked: 131 times
Been thanked: 15 times
Send a message
iPhone 7, iOS 11, Beta Tester, From Quebec (Canada)
AM: Laval and North Shore, Trois-Rivières
https://s.waze.tools/s0025.pnghttps://s.waze.tools/c3.png

Post by Raiden38
Oh and last question. How do we make the report show our custom fields in a different area. (Red vs Yellow VS Blue)?
Raiden38
Area Manager
Area Manager
Posts: 331
Has thanked: 131 times
Been thanked: 15 times
Send a message
iPhone 7, iOS 11, Beta Tester, From Quebec (Canada)
AM: Laval and North Shore, Trois-Rivières
https://s.waze.tools/s0025.pnghttps://s.waze.tools/c3.png

Post by Raiden38
I'm trying to do a custom code but I can't get it to work. Can you help me?

The goal is to highlight all the Primary roads that don't have a name, and they are longer then 50 ft.

First issue: it highlight some ramps
2nd issue: Depending on the test, it will highlight all roads bigger than 50ft!

Here is what I tried:

Code: Select all

  
   "131.enabled": true,
  "131.params": {
  "template": "${typeRank}#${street}@:${length}",
  "regexp": "/^1[1-5]#@:([5-9]+[0-9])$|([1-9]+[0-9]+[0-9])$/",
  "titleEN": "No Street Name on Primary Street",
  "problemEN": "No Street Name on Primary Street",
  "solutionEN": "Add the name",
Raiden38
Area Manager
Area Manager
Posts: 331
Has thanked: 131 times
Been thanked: 15 times
Send a message
iPhone 7, iOS 11, Beta Tester, From Quebec (Canada)
AM: Laval and North Shore, Trois-Rivières
https://s.waze.tools/s0025.pnghttps://s.waze.tools/c3.png


Post by randcon
So we go back to doing it the manual way.... again.
randcon
Waze Mentor
Waze Mentor
Posts: 110
Has thanked: 16 times
Been thanked: 48 times
Send a message
RandomConfusion
Messing with Waze one segment at a time.