[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.4 (BETA) / 30.03.2014

Postby BellHouse » Tue Apr 01, 2014 2:14 pm

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.
[ img ][ img ]
CM Germany
BellHouse
EmeritusChamps
EmeritusChamps
 
Posts: 3977
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 985 times
Been thanked: 3507 times

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

Postby BellHouse » Fri Apr 04, 2014 12:33 pm

How do you define invalid elevation?
[ img ][ img ]
CM Germany
BellHouse
EmeritusChamps
EmeritusChamps
 
Posts: 3977
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 985 times
Been thanked: 3507 times

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

Postby BellHouse » Fri Apr 04, 2014 4:15 pm

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.
[ img ][ img ]
CM Germany
BellHouse
EmeritusChamps
EmeritusChamps
 
Posts: 3977
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 985 times
Been thanked: 3507 times

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

Postby BellHouse » Fri Apr 11, 2014 11:31 am

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.
[ img ][ img ]
CM Germany
BellHouse
EmeritusChamps
EmeritusChamps
 
Posts: 3977
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 985 times
Been thanked: 3507 times

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

Postby BellHouse » Mon Apr 14, 2014 6:43 pm

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.
[ img ][ img ]
CM Germany
BellHouse
EmeritusChamps
EmeritusChamps
 
Posts: 3977
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 985 times
Been thanked: 3507 times

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

Postby BellHouse » Mon Apr 14, 2014 7:41 pm

Yes, I think we mean the same thing. It doesn't work for English, but it does work for all other languages.
[ img ][ img ]
CM Germany
BellHouse
EmeritusChamps
EmeritusChamps
 
Posts: 3977
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 985 times
Been thanked: 3507 times

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

Postby BellHouse » Wed Apr 16, 2014 10:18 pm

Please keep in mind that this is a thread about WME Validator.
[ img ][ img ]
CM Germany
BellHouse
EmeritusChamps
EmeritusChamps
 
Posts: 3977
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 985 times
Been thanked: 3507 times

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

Postby BellHouse » Thu Apr 24, 2014 5:15 am

You can add the following custom check:

Template:
Code: Select all
${street}

Custom RegExp:
Code: Select all
[A-Z][0-9]{3}
Last edited by BellHouse on Thu Apr 24, 2014 5:17 am, edited 1 time in total.
[ img ][ img ]
CM Germany
BellHouse
EmeritusChamps
EmeritusChamps
 
Posts: 3977
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 985 times
Been thanked: 3507 times

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

Postby BellHouse » Tue May 13, 2014 11:55 am

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.
[ img ][ img ]
CM Germany
BellHouse
EmeritusChamps
EmeritusChamps
 
Posts: 3977
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 985 times
Been thanked: 3507 times

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

Postby BellHouse » Tue May 13, 2014 12:22 pm

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.
[ img ][ img ]
CM Germany
BellHouse
EmeritusChamps
EmeritusChamps
 
Posts: 3977
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 985 times
Been thanked: 3507 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: Mythdraug