[Script] WME Validator v2021.3.5 (+ 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 0.9.8 (BETA) / 15.04.2014

Postby berestovskyy » Tue Apr 15, 2014 9:53 pm

15.04.2014 v0.9.8:
- Fixed #24 filtering in 'Reported as' field
- Fixed #173 'No space after abbreviation' for '11.'
- Fixed segment length for newly created segments
- Custom check severities are now warnings by default.
(sorry, I'm a bit busy these days, so a "real" fix will come in one of the next releases)

- Improved RegExp debug log
- Added a link to custom checks examples on the forum
- Fixed default regexps for #160-163

- CHECKS REVIEW:
Code: Select all
  Added new checks with params to validate city names:
    #190 'Lowercase city name' (merged #92)
    #191 'Incorrectly abbreviated city name'
    #192 'Unneeded spaces in city name' (merged #31)
    #193 'No space before/after abbreviation' (merged #33)
berestovskyy
 
Posts: 902
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 329 times
Been thanked: 838 times

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

Postby berestovskyy » Wed Apr 16, 2014 10:02 am

pumrum wrote:There used to be an option to filter based on username - I see it's been removed (or perhaps hidden for non CMs)

Filter by username is available only for Country Managers and only in that countries. Due to privacy concerns, there are no plans to change this nor implement any editor identification for custom checks.

pumrum wrote:is it possible in the future to filter based on the object's Area Manager?

I'll have a look, but I'm not sure if it's even possible to implement.

Try to use "City name" filter in the search tab instead. You can list few city names in there, i.e:
Code: Select all
City, Another City, Town, etc
berestovskyy
 
Posts: 902
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 329 times
Been thanked: 838 times

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

Postby berestovskyy » Wed Apr 16, 2014 5:03 pm

SuperDave1426 wrote:So I fail to see how this type of filtering would be a privacy concern issue.

Maybe I used the wrong term, but I would not like to see editors to lynch other editors using Validator.
berestovskyy
 
Posts: 902
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 329 times
Been thanked: 838 times

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

Postby berestovskyy » Fri Apr 18, 2014 5:23 pm

pumrum wrote:I can't seem to find any info on the ${roundabout} template -- i've tried true, false, 1, 0, yes, no, roundabout... what can I regex on to highlight roundabouts?

The following works fine with me (highlights roundabout segments):
Template: ${roundabout}
RegExp: D/1/

You don't have to "guess". Just add D at the very beginning of RegExp (just like above), then open JS console (Ctrl+Shift+J) and check the debug log. Here is an example:
Code: Select all
WME Validator v0.9.8 debug log for segment 248090636, check #128:
1. Expand template: ${roundabout} -> 0
2. Match RegExp: /1/ -> null
=> skip the segment
WME Validator v0.9.8 debug log for segment 248091485, check #128:
1. Expand template: ${roundabout} -> 1
2. Match RegExp: /1/ -> ["1"]
=> REPORT the segment as #128 'User-defined custom check (green)'

So you can easily figure out that ${roundabout} expands to 0 or 1.
berestovskyy
 
Posts: 902
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 329 times
Been thanked: 838 times

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

Postby berestovskyy » Tue Apr 22, 2014 6:24 pm

ctpoole wrote:Is there some way to correct this behavior?

Unfortunately, once a node goes off-screen in WME, there is just a partial information available about the node.

I'll try to fix the issue, but excluding 'Unneeded node A/B' checks for segments with off-screen nodes seems to be the only way...
berestovskyy
 
Posts: 902
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 329 times
Been thanked: 838 times

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

Postby berestovskyy » Wed Apr 23, 2014 5:55 am

ctpoole wrote:None of the nodes are "off screen".

Sorry, I just tried to split/merge same endpoints segments on different zoom levels, but the only way I can reproduce the issue is when both of the nodes are off-screen.
berestovskyy
 
Posts: 902
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 329 times
Been thanked: 838 times

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

Postby berestovskyy » Thu Apr 24, 2014 6:31 am

Jay91150 wrote:Is there a regexp phrase I can concoct that will highlight segments that are one way and don't connect to a road at the "to" end of their one-way-ed-ness?

It must be already highlighted as #44/#45 'No inward/outward connectivity' :?

Just in case you still need the custom check to highlight one-way dead-ends:
Template: ${deadEnd}:${direction}
RegExp: /1:[12]/
berestovskyy
 
Posts: 902
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 329 times
Been thanked: 838 times

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

Postby berestovskyy » Thu Apr 24, 2014 7:48 am

Fabianotkd wrote:Excuse me... what about this?

I clicked "Thanks" to inform you that I've read your message. No questions. The bug will be fixed ;)
berestovskyy
 
Posts: 902
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 329 times
Been thanked: 838 times

Re: [Script] WME Validator 0.9.9 (BETA) / 27.04.2014

Postby berestovskyy » Sun Apr 27, 2014 3:37 pm

27.04.2014 v0.9.9:
- Fixed #190 for Cyrillic letters
- Fixed false positive in #171 for FR: 'Rue du Mal Assis'
- Fixed #36 and #37 'Unneeded node' for partial nodes
- Improvements in Settings->About->Available checks
- Temporarily disabled #79 'Too short U-turn connector'
(the check will be updated in one of the next releases)
berestovskyy
 
Posts: 902
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 329 times
Been thanked: 838 times

Re: [Script] WME Validator 0.9.9 (BETA) / 27.04.2014

Postby berestovskyy » Wed Apr 30, 2014 8:34 pm

crazycaveman wrote:Am I missing something with regards to negated regex's?

The report is cleared automatically once you change either a template or a regexp field. I guess you changed your custom check after the scan has been completed. This is my best guess. A permalink would help.
berestovskyy
 
Posts: 902
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 329 times
Been thanked: 838 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: Doctorblah, Mythdraug