Page 162 of 245

Re: [Script] WME Validator 1.1.7 / 06.03.2015

Posted: Thu May 07, 2015 2:48 am
by PesachZ
This has happened before, the developer is most definitely tied up in his real life, and will push an update in the near future. Just bear with it for a bit, it shouldn't be too long.

Take this opportunity to experience wme without validator, realize its benefits, and thank the author for the awesome job he's done with it so far.

Sent using Tapatalk for Android 4.4.2

Re: [Script] WME Validator 1.1.7 / 06.03.2015

Posted: Thu May 07, 2015 2:54 pm
by PesachZ
The author previously explained his rationale for the expiration date.
berestovskyy wrote:Hi!
Sorry, I missed the expiration date :(

alexschrod wrote:In the next update, if the author wants this kind of behavior in place, they should add another check first that sends a request to see if there is an actual update ready
Validator does not send or receive any data from the internet for security reasons.
wlodek76 wrote:Could you explain us why do you lock this script ? What is purpose of doing this ?
The script has an expiration date since the v0.3. The first few versions expired just in 7 days to force users to update the script...

It also forces me to update the script and publish a new version. And it really motivates me lately...

Sent using Tapatalk for Android 4.4.2

Re: [Script] WME Validator 1.1.8 / 07.05.2015

Posted: Fri Jun 19, 2015 4:51 pm
by PesachZ
crazycaveman wrote:
ispyisail wrote:Hi all

I'm looking for a custom search that will find all "Street" and "Primary Street" that have more than one "alternate name"

as always

Thanks
Try this:

Code: Select all

Template: ${typeRank}:${altStreet[1]}
Regexp: /1[01]:.+/
Would that also match segments with only one alt name?

Sent using Tapatalk for Android

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Posted: Sun Jul 19, 2015 1:52 pm
by PesachZ
crazycaveman wrote:Here's an updated type list (not typerank):
${type}

Code: Select all

1:  Street
2:  Primary Street
3:  Freeway
4:  Ramp
5:  Walking Trail
6:  Major Highway
7:  Minor Highway
8:  Dirt Road / 4X4 Trail
9:
10: Pedestrian Boardwalk
11:
12:
13:
14: Ferry
15:
16: Stairway
17: Private Road
18: Stairway
19: Runway/Taxiway
20: Parking Lot Road
21: Service Road (deprecated)
FYI ferries (at least in the USA) are now using type 15

Re: [Script] WME Validator 1.1.8 / 07.05.2015

Posted: Tue Sep 08, 2015 6:39 pm
by PesachZ
taco909 wrote:Not sure if this was mentioned before.
Validator triggers an error on "Incorrect abbreviation" when the street name terminates with a period.

With the new handling of cardinals, we need to have Validator ignore this iff the last character pair is " N.", " S.", " E.", or " W."

Example: "W Avenue N." comes out properly on TTS as "West Avenue N"
This is valid, but Validator triggers on the "N."
This has been mentioned above, but validator has not been updated yet.

You can add NE. and SW. to the list

Sent using Tapatalk for Android

Re: [Script] WME Validator 1.1.8 / 07.05.2015

Posted: Fri Oct 02, 2015 9:04 am
by PesachZ
LeighGr wrote:I'm busy creating a WMEV localization pack for South Africa, but am bashing my head against a wall with some weird errors. The following code works fine for mH segments named R100 to R512, and then again from R516 onwards, but R513, R514 and R515 all get flagged as incorrect. WHY?????

Code: Select all

// Custom Check - Minor Highway Name Format
  "137.enabled": true,
  "137.params": {
    "titleEN": "Incorrect name format on Minor Highway",
    "problemEN": "All Minor Highways name format should be (R###) numbered > 100 ",
    "solutionEN": "Change name to ... (R###)",
    "template": "${typeRank}:${street}:${direction}",
    "regexp": "/(13):(?!R[0-9]{3} [NESW]:(1|2) ?|(R[0-9]{3}:(3))$)/"
  },
  "137.solutionLink": "W:South_Africa#Road_Network", 
513 is being flagged because you are not anchoring and it is matching the 13:R513:3 from the string produced by your template.

you could try this and see if works better for you.

Code: Select all

"regexp": "/^13:(?!(R[1-9]\\d{2}( [NESW]:[12] ?|:3))$)/"
I also noticed you are allowing an optional space in the string after the direction on one-way segments, not sure why you would want that, but I did include it. I moved the anchors and groups around a bit to accomplish what I think you want.
"/(13):(?!R[0-9]{3} [NESW]:(1|2) ?|(R[0-9]{3}:(3))$)/"

Edit: your code also allowed numbers <100 such as R099, as long as they were 3 digits. I updated it to only allow >100.
Edit2: shortened code, should still work the same

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Posted: Sun Oct 04, 2015 3:03 am
by PesachZ
Here's an updated type list (not typerank): fixed Ferry, Stairway, and added Railroad.
${type}

Code: Select all

1:  Street
2:  Primary Street
3:  Freeway
4:  Ramp
5:  Walking Trail
6:  Major Highway
7:  Minor Highway
8:  Dirt Road / 4X4 Trail
9:
10: Pedestrian Boardwalk
11:
12:
13:
14: [i](old: Ferry)[/i]
15: Ferry
16: Stairway
17: Private Road
18: Railroad [i](old: Stairway)[/i]
19: Runway/Taxiway
20: Parking Lot Road
21: [i]Service Road (deprecated)[/i]

Re: [Script] WME Validator 1.1.8 / 07.05.2015

Posted: Sun Oct 04, 2015 11:06 am
by PesachZ
vince1612 wrote:Quick question : I keep getting this in the Validator report after I scan a certain area.
Might be incorrect city name (only available in the report) (#24)
The segment might have incorrect city name: wiki
Consider suggested city name and use this form to rename the city: forum

Gy — city name is too short
Allée du Chambet, Gy
65434649
...
But that village's name is really just "Gy"
I would use the filter in the city name with !Gy to ignore it, but then it would just not show any potential errors on these segments as they would be ignored (if I understand this right).

How can I make it ignore the "city name is too short" error only, from the report, while still scanning these segments for anything else that could be wrong with them ?

I hope the answer is not too obvious :oops:
You can disable check #24 by typing it in the Reported As: of the filters. Assuming that's the only check you want to disable you would type in

Code: Select all

!24,*

Re: [Script] WME Validator 1.1.8 / 07.05.2015

Posted: Wed Oct 28, 2015 10:12 pm
by PesachZ
AlanOfTheBerg wrote:Sheesh, I can't even get Validator to load at all. The only line in the console on load is "WME Validator v1.1.8: login AlanOfTheBerg". Win7/Chrome 46.0.2490.71 m. Ideas?
Are you in WME Beta? Validator is broken in the latest beta.

Sent from Android using Tapatalk

Re: [Script] WME Validator 1.1.8 / 07.05.2015

Posted: Wed Oct 28, 2015 11:35 pm
by PesachZ
AlanOfTheBerg wrote:
PesachZ wrote:
AlanOfTheBerg wrote:Sheesh, I can't even get Validator to load at all. The only line in the console on load is "WME Validator v1.1.8: login AlanOfTheBerg". Win7/Chrome 46.0.2490.71 m. Ideas?
Are you in WME Beta? Validator is broken in the latest beta.
Nope, I wish it was that simple. :) I knew that it wasn't working in beta.
Are you using a localization package?

Sent from Android using Tapatalk