Page 14 of 237

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

PostPosted: Tue Apr 01, 2014 2:14 pm
by BellHouse
qwaletee wrote:
BellHouse wrote:
berestovskyy wrote:2. No right* turn (for any drivable road)

I don't get the idea behind 2. You want to mark all right/left turns that are disabled (red arrow)? What's so special about a turn of around 90° angle? :?

I think the idea is that while it is common to restrict left turns, it is uncommon to restrict right turns, unless there is a very sharp angle.

Ok, now I got it, thanks for your explanations.

I'd say we give it a try. If

1. the offset from 90° angle, and
2. the minimum length of one of the segments

were parameters to the new check, this could be fine-tuned in each country. Since we might expect some false-positives from this check (which we do not think of now), it might be a good idea to implement the check and have it disabled by default. Then the mass of editors will not be bothered by the false-positives, and some of us testers could turn it on manually.

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.