Page 14 of 236

Re: [Script] WME Validator 0.9.4 (BETA) / 30.03.2014

PostPosted: Fri Apr 04, 2014 12:33 pm
by BellHouse
How do you define invalid elevation?

Re: [Script] WME Validator 0.9.4 (BETA) / 30.03.2014

PostPosted: Fri Apr 04, 2014 4:15 pm
by BellHouse
Yes, I am just trying to find out if lg1992 means the same thing as we did earlier.

Anyway, the template would be ${elevation} and the regexp would be !\-[1-5]|^[0-9]$ , if you want to test if the elevation is outside of -5 and 9. And I trust you would manage to tune that to a range you are looking for.

Re: [Script] WME Validator 0.9.7 (BETA) / 08.04.2014

PostPosted: Fri Apr 11, 2014 11:31 am
by BellHouse
sketch wrote:Is there a way to change the severity of a custom check from Note? I don't see one in the Wizard example.

There are some nice instructions in this post.

Re: [Script] WME Validator 0.9.7 (BETA) / 08.04.2014

PostPosted: Mon Apr 14, 2014 6:43 pm
by BellHouse
Maybe we are talking about different checks, but this piece of code works fine for me just now:

Code: Select all
  "130.enabled": true,
  "130.severity": "warning",
  "130.params": {
    "titleEN": "Segment with alternative name",
    "solutionEN": "Delete the alternative name(s)",
    "problemEN": "The segment has at least one alternative name",
    "template": "${altStreet[0]}",
    "regexp": "^.+$"
  },

(I left away the localized parameters in my example)

If you put this into a localization script, the severity setting will only become active if you set WME to the correct language (so it won't if WME is set to English). On an english WME the same custom check will be a note, so one might call that part a bug, yes.

Re: [Script] WME Validator 0.9.7 (BETA) / 08.04.2014

PostPosted: Mon Apr 14, 2014 7:41 pm
by BellHouse
Yes, I think we mean the same thing. It doesn't work for English, but it does work for all other languages.

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

PostPosted: Wed Apr 16, 2014 10:18 pm
by BellHouse
Please keep in mind that this is a thread about WME Validator.

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

PostPosted: Thu Apr 24, 2014 5:15 am
by BellHouse
You can add the following custom check:

Template:
Code: Select all
${street}

Custom RegExp:
Code: Select all
[A-Z][0-9]{3}

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

PostPosted: Tue May 13, 2014 11:55 am
by BellHouse
I don't quite understand why E773 is continuing through the roundabout? This is not visible in the sat pic, nor in GMaps, nor in OSM.

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

PostPosted: Tue May 13, 2014 12:22 pm
by BellHouse
OK, I see. But the constellation I see in StreetView is not a roundabout, but a major road with 2 half-circle extensions. There's no roundabout sign to be seen.

I think the solution is to simply remove the roundabout status of these segments.

Re: [Script] WME Validator 1.0.1 / 25.06.2014

PostPosted: Sat Jun 28, 2014 2:53 pm
by BellHouse
ctpoole wrote: If I put in a node I eliminate the same segment warning but in its place I get an unneeded node warning.

This used to be a problem, but in the current Validator version this should not happen any more (the unneeded node warning).