[Script] WME Validator 1.1.20 / 03.11.2016

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

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.1.3 / 07.10.2014

Postby voludu2 » Mon Oct 20, 2014 1:47 am

Thanks for all the explanations.

I humbly place the following requests for enhancement
1) The "exclude non-editable segments" item gets a little rename to make clear that this option applies only to streets with a one or more non-editable nodes, even if the segment is not itself non-editable (I can, for example, change the city, name, or state on the segment)
2) I think there would be value in an option to allow doing checks on segments I cannot edit.
This way, I can spot an out-of-state road more easily, and quickly move to placing the unlock request to fix the city/state smudging problem, for example.

Thank you so much for a very fine and valuable tool. I'm sorry that the latest WME upgrade has broken revcon and connectivity checks. Such a hassle for you, and such a loss to the editors.

ImageUSA Northeast Region Discord Chat
State Manager - Pennsylvania
Country Manager - USA and Thailand
Wiki Master, Global Mentor
utilitas, simplicitas, retentionis
voludu2
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 2594
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 580 times
Been thanked: 928 times

Re: [Script] WME Validator 1.1.3 / 07.10.2014

Postby voludu2 » Sat Oct 18, 2014 11:19 am

Thank you for the information above. It is a big help to using validator effectively.

I have a couple more questions about custom checks.

* is a custom check like ${state} !/Pennsylvania/ a slow search?
berestovskyy wrote:4. The therm "editable segment" in Validator has a bit stricter meaning: the segment properties should be editable and both of the nodes.


If I have the "exclude un editable segment" disabled, and am operating at level 6 with fewer than 300 segments on the screen, should a segment which is locked above my level and which matches the custom check be highlighted?

ImageUSA Northeast Region Discord Chat
State Manager - Pennsylvania
Country Manager - USA and Thailand
Wiki Master, Global Mentor
utilitas, simplicitas, retentionis
voludu2
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 2594
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 580 times
Been thanked: 928 times

Re: [Script] WME Validator 1.1.3 / 07.10.2014

Postby voludu2 » Fri Oct 17, 2014 12:40 pm

I am seeing inconsistencies with custom template/regexp highlighting, This makes it somewhat less useful than it could be for identifying "state smudging"
Test conditions:
  • Chrome 37.0.2062.124 m and 38.0.2125.104 m with all extensions disabled except for Validator
  • blue: template ${state} and two different regexps: !/^Pennsylvania$/ and /Delaware/
  • All filter and search settings disabled/blank
I chose an editable area in which all streets match both regexps. Most of the visible segments are highlighted, but many are not:
  • If I zoom out to zoom=3, far enough to run a validator scan, blue highlighting is spotty at best. Validator scan does not fix blue highlighting at zoom=3. zoom=4 and higher is required.
  • At zoom=4, panning, zooming, and layer refresh do not cause matching segments to show the blue highlight. Clicking the permalink icon is required.
The following observations were made at zoom=4 and greater, using the permalink icon before making each observation.

I can no longer reproduce the following, which I observed using Chrome 37, with several other extensions enabled.
  • Selecting a highlighted segment without making any edit removes the highlight. Refreshing the layers does not bring the highlighting back. Clicking the permalink brought the highlight back. I did not do thorough testing of zooming, panning, and refresh layers effect on this.

ImageUSA Northeast Region Discord Chat
State Manager - Pennsylvania
Country Manager - USA and Thailand
Wiki Master, Global Mentor
utilitas, simplicitas, retentionis
voludu2
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 2594
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 580 times
Been thanked: 928 times

Re: [Script] WME Validator 1.1.1 / 30.08.2014

Postby voludu2 » Wed Sep 24, 2014 5:16 pm

Memory Problems.

When I have validator enabled in Chrome, the memory in the WME browser window quickly gets out of hand. When I start up WME without validator, the window uses 130-160 M, but when I run validator, it quickly goes to 200. After an hour or so, it goes to 300, then 400. Then the PC starts doing a lot of paging and things slow down, and I have to close and restart chrome. sometimes, Chrome starts complaining that it has run out of memory. Or it crashes altogether.

This is recent behavior. I never noticed it before just recently. The most recent things I did were to install tampermonkey and start using the Chat add-on. Of course, waze has also made recent changes to WME...

Has anybody else had problems with validator recently?

ImageUSA Northeast Region Discord Chat
State Manager - Pennsylvania
Country Manager - USA and Thailand
Wiki Master, Global Mentor
utilitas, simplicitas, retentionis
voludu2
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 2594
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 580 times
Been thanked: 928 times

Re: [Script] WME Validator 1.1.1 / 30.08.2014

Postby voludu2 » Mon Sep 22, 2014 10:09 am

Does it detect revcons? I thought so, but I have not detected any reverse connectivity with it lately, even on a segment where someone else could see the revcon, using toolbox.

ImageUSA Northeast Region Discord Chat
State Manager - Pennsylvania
Country Manager - USA and Thailand
Wiki Master, Global Mentor
utilitas, simplicitas, retentionis
voludu2
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 2594
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 580 times
Been thanked: 928 times

Re: [Script] WME Validator 1.1.1 / 30.08.2014

Postby voludu2 » Wed Sep 03, 2014 9:08 pm

!doh! Of course. javascript. Thanks

ImageUSA Northeast Region Discord Chat
State Manager - Pennsylvania
Country Manager - USA and Thailand
Wiki Master, Global Mentor
utilitas, simplicitas, retentionis
voludu2
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 2594
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 580 times
Been thanked: 928 times

Re: [Script] WME Validator 1.1.1 / 30.08.2014

Postby voludu2 » Wed Sep 03, 2014 10:59 am

Just off the top of my head, I would think the following ought to find any ${street} that starts with "St ". By putting ${type} before street and using the "beginning of line" anchor (^), you were limiting the script to cases where ${type} began with "St". And you need an opening delimiter to match the closing delimiter.

When you are testing regexps, you can find an online regexp tester, type in a test string, and fiddle around with your regexp until you get a match.


Warning: I have not done any testing.

Code: Select all
"174.enabled": true,
"174.severity": "warning",
"174.params": {
    "titleEN": "St. not St",
    "problemEN": "St. not St",
    "solutionEN": "Use St. instead of St",
    "template": "${street}",
    "regexp": "/^St\s/",
},

ImageUSA Northeast Region Discord Chat
State Manager - Pennsylvania
Country Manager - USA and Thailand
Wiki Master, Global Mentor
utilitas, simplicitas, retentionis
voludu2
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 2594
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 580 times
Been thanked: 928 times

Re: WME Validator F.A.Q.

Postby voludu2 » Fri Aug 22, 2014 12:33 pm

berestovskyy wrote:WME Validator F.A.Q.
New! Search for a specific username
Validator does support a search for a specific username. Click "search" tab and put a desired username(s) into the "Updated by" field.


I really like having WME Validator double-check my work.
This is a really useful feature. It would be really useful for mentors to be able to search for their mentees' usernames, too.

Thanks for all the effort you have put into this tool.

ImageUSA Northeast Region Discord Chat
State Manager - Pennsylvania
Country Manager - USA and Thailand
Wiki Master, Global Mentor
utilitas, simplicitas, retentionis
voludu2
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 2594
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 580 times
Been thanked: 928 times

Re: [Script] WME Validator 1.0.3 / 04.08.2014

Postby voludu2 » Tue Aug 19, 2014 9:11 pm

It's the bee's knees.
thanks

ImageUSA Northeast Region Discord Chat
State Manager - Pennsylvania
Country Manager - USA and Thailand
Wiki Master, Global Mentor
utilitas, simplicitas, retentionis
voludu2
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 2594
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 580 times
Been thanked: 928 times

Re: [Script] WME Validator 1.1.20 / 03.11.2016

Postby vince1612 » Mon Jul 03, 2017 4:54 pm

ali_zali wrote:my version is 1.1.20 and it is says it is out of date and should be upgrade
how?

Read the previous page
Image
Wiki & Forum: Wiki CH (D) (FR) | Forum CH (D) (FR) (I)
Website: waze-switzerland.ch | Facebook: Waze Switzerland
1+1=3 - The result of bringing talents together goes beyond simply adding them up.
vince1612
Waze Global Champs
Waze Global Champs
 
Posts: 6094
Joined: Sun Mar 17, 2013 2:30 pm
Location: DACH Group (Germany, Austria, Switzerland)
Has thanked: 3164 times
Been thanked: 3391 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: skubko