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.
Post by james890526
SuperDave1426 wrote:Thanks for maintaining this highly useful WME addon. It's appreciated, and this is a highly useful tool used by many.

That said, this recent flurry of messages here is a prime example of why hardwiring an arbitrary "expire" date into such an important and widely used tool is a bad thing, regardless of what the "motivation" behind it is. If you happen to not be able to get around to doing an update (especially if it's for no other purpose than to update the "expire" date) by the deadline, then a lot of people get inconvenienced for no reason. It isn't broken - it just refuses to work because the date has passed.

Just sayin'....
It's a tool berestovskyy created. If it's a mean to help motivate him, why not? It's one of those perfect script that we've been using daily and taking for granted sometimes, so I'm satisfied if an update comes quick or slow or maybe never ;)
james890526
Waze Local Champs
Waze Local Champs
Posts: 310
Has thanked: 61 times
Been thanked: 42 times
Send a message
Last edited by james890526 on Thu May 14, 2015 8:13 pm, edited 1 time in total.
Best regards,
Lee Zhong Zhen
Local Champ - Malaysia



Waze Malaysia http://i.imgur.com/RVOq2tk.png https://i.imgur.com/6Rk8oL5.png https://i.imgur.com/vk73Muu.png

Post by james890526
shmupi wrote:Confirmed...it's broken :cry:
Ya it's not loading in Chrome. Weird much :( :(
james890526
Waze Local Champs
Waze Local Champs
Posts: 310
Has thanked: 61 times
Been thanked: 42 times
Send a message
Best regards,
Lee Zhong Zhen
Local Champ - Malaysia



Waze Malaysia http://i.imgur.com/RVOq2tk.png https://i.imgur.com/6Rk8oL5.png https://i.imgur.com/vk73Muu.png

Post by james890526
Nimbus- wrote:
mrsmith66 wrote:In Chrome - Validator seems to be preventing the left pane from scrolling, making the other tools unusable.
As a temporary fix, I've toggled it to move to the bottom. But now I can't hide the bubble blimp at the bottom.
Same here, now I can't access Validator and the only solution is to reinstall it if I need to use it and never to put it at the bottom
james890526
Waze Local Champs
Waze Local Champs
Posts: 310
Has thanked: 61 times
Been thanked: 42 times
Send a message
Best regards,
Lee Zhong Zhen
Local Champ - Malaysia



Waze Malaysia http://i.imgur.com/RVOq2tk.png https://i.imgur.com/6Rk8oL5.png https://i.imgur.com/vk73Muu.png

Post by jangliss
dbcm wrote:valFix 1.0.3 is out
https://dbcm.github.com/waze/valfix/valfix.user.js

Also adds Validator to layer menu.


Thanks to justins83
First off, I want to echo the communities appreciation for the work that's been done to patch Validator with external fixes to get it working again. It's hugely appreciated. That said...

Not sure if it's just me or not, but when you set your language in WME, say "US English" for example, none of the custom titles, solutions, or problem descriptions come across. For example:

Code: Select all

	"titleEN": "Wrong banner abbreviation",
	"problemEN": "Banner abbreviation may be incorrect. Abbreviations ALT, BUS, BYP, CONN, LOOP, and SPUR should be in ALL CAPS",
When you mouse over a road that is impacted by the issue, all you get is "The segment matched custom conditions", like it couldn't find the fields that had the message.

Another thing to note is that when you change your language to "US English" the localization becomes "en-US" and not just "en". This might be where the issue comes up if it's just doing a simple case change for the language. I've only briefly tried to understand the obfustication and such in the validator script, so I could be way off.

The change in the localization also means that the translations hack in the valfix.user.js may be an issue.

Code: Select all

if (typeof I18n.translations.en == 'undefined') {
    I18n.translations["en"] = {
        "layers": {
            "name": {}
        }
    };
}
I've not spent a huge amount of time digging through the valfix and utils code, so I'm not sure if there is a way to squeeze some "fix" in there. I might try going through it this weekend and seeing what I can come up with, unless you already have an idea.

Thanks again!
jangliss
State Manager
State Manager
Posts: 301
Has thanked: 90 times
Been thanked: 233 times
Send a message

Post by jangliss
ldriveskier wrote:jangliss - is that a problem with Validator and its fix or with a validator Localization script? I know the Localization scripts that I use were modified after the language change, so yours might need that also.
By "localization script" I'm assuming you mean the one we use to put our own validation rules in, in which case I'm not past thinking that is the issue, but it works when we use the default languages (just set to "English" [en]) but not "US English" [en-US], which means we'd need to know what validator is looking for to match when the language is [en-US]. I may have missed the page that mentioned what that new localization values should be. I'll go back through the posts and see what I can see.
jangliss
State Manager
State Manager
Posts: 301
Has thanked: 90 times
Been thanked: 233 times
Send a message

Post by jangliss
So I did some further testing, and it seems if you use the following in the "header" section it kicks in for both languages, the problem is that it doesn't really match the languages later on.

Code: Select all

window.WME_Validator_United_States = {
    ".country": "United States",
    ".codeISO": "US",
    ".author": "jangliss",
    ".updated": "2017-04-19",
    ".link": "TODO: ",
    ".lng": ["EN","EN-US"],
With ".lng" set to both "EN" and "EN-US" it picks up both languages. That said, if you use the "en" (or "en-us") in the title, problem, or solution text, it doesn't pick it up in either platform. For example:

Code: Select all

    "130.title.en": "The segment is assigned to another state",
    "130.title.en-us": "The segment is assigned to another state",
    "130.problem.en": "The segment is assigned to another state",
    "130.problem.en-us": "The segment is assigned to another state",
    "130.solution.en": "Make sure you are editing in TX, OK, MS, LA, or AR, and change it or disable script when working in another state",
    "130.solution.en-us": "Make sure you are editing in TX, OK, MS, LA, or AR, and change it or disable script when working in another state",
This is what you end up with:
2017-04-19 14_46_14-Clipboard.png

If however, you just put it in like this:

Code: Select all

  "130.title": "The segment is assigned to another state",
It works across both "English" and "US English" platforms, but that doesn't really seem like it is being "localized", more overriding the default title.

Either way, I think I got it working so I just need to do some tweaking, and such.
jangliss
State Manager
State Manager
Posts: 301
Has thanked: 90 times
Been thanked: 233 times
Send a message

Post by jangliss
turbomkt wrote:
Olestas wrote:No more GF version? Only market?
https://greasyfork.org/en/scripts/1571-wme-validator
I get an error that reports the script has been deleted with that link. Is it correct? I did some quick searching on GF and found https://greasyfork.org/en/scripts/370783-wme-validator which appears to be the right one, but I'd rather the author(s) update the link, and correct the front page as well.

Cheers!
jangliss
State Manager
State Manager
Posts: 301
Has thanked: 90 times
Been thanked: 233 times
Send a message

Post by jarkaz
I wrote to him, but did not even read the message. [emoji20]


Wysłane z iPhone za pomocą Tapatalk
jarkaz
Waze Local Champs
Waze Local Champs
Posts: 3466
Answers: 2
Has thanked: 985 times
Been thanked: 533 times
Send a message
https://s.waze.tools/c6s.pnghttps://s.waze.tools/s0500.pnghttps://s.waze.tools/p2000.pnghttps://s.waze.tools/lcpl.png CMhttps://s.waze.tools/cm.pngPLhttps://www.waze.com/forum/images/ranks/MapRaider_Badge_63px.pnghttps://s.waze.tools/mntr.pnghttps://s.waze.tools/betc.pnghttps://s.waze.tools/beta.pnghttps://i.ibb.co/s51vgF5/10th-anniversary-Badge.png
Discord Waze Polska:https://discord.gg/JPqNpdvXjF
Jak zrobić permalink: https://youtu.be/xYmU6UPCiZs

Post by jarkaz
I wrote in another case, but I just see that the message read;)
jarkaz
Waze Local Champs
Waze Local Champs
Posts: 3466
Answers: 2
Has thanked: 985 times
Been thanked: 533 times
Send a message
https://s.waze.tools/c6s.pnghttps://s.waze.tools/s0500.pnghttps://s.waze.tools/p2000.pnghttps://s.waze.tools/lcpl.png CMhttps://s.waze.tools/cm.pngPLhttps://www.waze.com/forum/images/ranks/MapRaider_Badge_63px.pnghttps://s.waze.tools/mntr.pnghttps://s.waze.tools/betc.pnghttps://s.waze.tools/beta.pnghttps://i.ibb.co/s51vgF5/10th-anniversary-Badge.png
Discord Waze Polska:https://discord.gg/JPqNpdvXjF
Jak zrobić permalink: https://youtu.be/xYmU6UPCiZs

Post by jarkaz
berestovskyy wrote:v2019.08.16:
- jangliss: Fix for layer refresh if layer did not trigger update
(This fixes compatibility with WME Toolbox)
This is the correct abbreviation, "kpt. Wilhelma Kosińskiego" according to our hash table. Abbreviation tables in wazeopedia: https://wazeopedia.waze.com/wiki/Poland ... B3t%C3%B3w
Permalink to place: https://www.waze.com/pl/editor/?env=row ... =254724307
Screenshot: http://prntscr.com/owpw4w
Please add to Validator
jarkaz
Waze Local Champs
Waze Local Champs
Posts: 3466
Answers: 2
Has thanked: 985 times
Been thanked: 533 times
Send a message
https://s.waze.tools/c6s.pnghttps://s.waze.tools/s0500.pnghttps://s.waze.tools/p2000.pnghttps://s.waze.tools/lcpl.png CMhttps://s.waze.tools/cm.pngPLhttps://www.waze.com/forum/images/ranks/MapRaider_Badge_63px.pnghttps://s.waze.tools/mntr.pnghttps://s.waze.tools/betc.pnghttps://s.waze.tools/beta.pnghttps://i.ibb.co/s51vgF5/10th-anniversary-Badge.png
Discord Waze Polska:https://discord.gg/JPqNpdvXjF
Jak zrobić permalink: https://youtu.be/xYmU6UPCiZs