[Script] WME Color Highlights - 2.23 Jul 2017

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

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 Color Highlights - 2.9 JUL 2016

Postby asph4lt » Thu Sep 15, 2016 4:09 pm

cybernissart wrote:I could recover by modifying some part of the code as below.

Not check yet other part of code, but other function seem to be ok.
Hope this would help if you need it to go on with your daily work.

There is still a problem with the segments outside city, and segments unnamed, and function "Invert".
asph4lt
 
Posts: 949
Joined: Sun May 29, 2011 3:32 pm
Has thanked: 62 times
Been thanked: 168 times

Re: [Script] WME Color Highlights - 2.9 JUL 2016

Postby jwluv » Thu Sep 15, 2016 1:25 pm

cybernissart, thanks for the fix. Seems to work perfectly!
jwluv
Area Manager
Area Manager
 
Posts: 76
Joined: Tue Nov 17, 2015 5:05 am
Location: Coos Bay, OR, USA
Has thanked: 62 times
Been thanked: 23 times

Re: [Script] WME Color Highlights - 2.9 JUL 2016

Postby cybernissart » Thu Sep 15, 2016 1:17 pm

I could recover by modifying some part of the code as below.

Add new object definition at Line 941:
Code: Select all
   var cityname      = Waze.model.cities.objects[cid].attributes.name;
   var citystateid   = Waze.model.cities.objects[cid].attributes.stateID;
   var citycountryid = Waze.model.states.get(citystateid).countryID;

Change Line 943 by:
Code: Select all
      cityObjs.push({id: cid, name: cityname, state: citystateid, country: citycountryid});            

Not check yet other part of code, but other function seem to be ok.
Hope this would help if you need it to go on with your daily work.
cybernissart
Waze Local Champs
Waze Local Champs
 
Posts: 216
Joined: Wed Jul 18, 2012 5:32 pm
Has thanked: 7 times
Been thanked: 21 times

Re: [Script] WME Color Highlights - 2.9 JUL 2016

Postby cybernissart » Thu Sep 15, 2016 12:03 pm

WME Highlight v2.12 Filter by City broken since WME cityID stateID attributes were introduced 12/09 by Waze.
Following error returned at line 972 on Chrome.

VM12909:972 Uncaught TypeError: Cannot read property 'localeCompare' of undefined
cybernissart
Waze Local Champs
Waze Local Champs
 
Posts: 216
Joined: Wed Jul 18, 2012 5:32 pm
Has thanked: 7 times
Been thanked: 21 times

Re: [Script] WME Color Highlights - 2.9 JUL 2016

Postby Thadius856 » Fri Sep 09, 2016 9:37 pm

Just a suggestion. It would be nice to have a toggle for "Only highlight editable segments". I've cobbled together a mod with this functionality that obeys for explicit locks, but have not added out-of-EA yet to the ignore list. It helped a ton with highlighting SLs that were unset, but still hiding those you couldn't do. I can share my modified code, if you're interested.

Would also love to see a highlight for segments with un-nudged HNs. WME Toolbox seems to be able to fetch the HN objects outside of the HN editor window for their "Streets with name but no house number" filter, and WME House Number Tool has the ability to check if a segment is un-nudged (by evaluating the marker length). Seems like it'd just be a marriage of these two methods, iterating through until one is found, then trigger the segment highlight. Unfortunately this addition is a little above my skill currently.
Thadius856
 
Posts: 95
Joined: Fri Jul 29, 2016 1:05 am
Has thanked: 30 times
Been thanked: 7 times

Re: [Script] WME Color Highlights - 2.9 JUL 2016

Postby turbomkt » Fri Sep 09, 2016 9:52 am

Is there any intent to allow highlighting PRs with no speed limit? Or can this be added?
turbomkt
Waze Mentor
Waze Mentor
 
Posts: 428
Joined: Thu Jan 22, 2015 1:05 am
Location: San Diego, Ca
Has thanked: 244 times
Been thanked: 111 times

Re: [Script] WME Color Highlights - 2.9 JUL 2016

Postby hawkeygoal » Sun Sep 04, 2016 2:52 pm

I haven't deduced a specific cause of the malady, but I'm finding that I'm getting locked in a shaded screen after some edits, particularly if end point nodes have changed in Chrome. I noticed a looping error in the console and identified the faulting instruction was in Color Highlights, specifically ln 736.

VM80754:736 Uncaught TypeError: Cannot read property 'attributes' of undefined



This might be associated with something else I've been noticing (possibly unrelated) that pops up associated with wLib:

VM172751:2 module Waze/Presenter/FeatureEditor/Segment not found


Following this error I'll find seveal 500 level responses from http://www.waze.com. However, I'm not nearly as adept at script writing as I would need to be to do a proper RCA on all this. Just seems something is possibly amiss.
hawkeygoal
State Manager
State Manager
 
Posts: 236
Joined: Sun Aug 31, 2014 5:05 pm
Location: Darien, IL, USA
Has thanked: 99 times
Been thanked: 102 times

Re: [Script] WME Color Highlights - 2.9 JUL 2016

Postby Fabianotkd » Tue Aug 23, 2016 9:39 pm

Hi,
with new speed limit reports could be usefull a "filter by SP" exactly as the filter by city with the invert check box.
Verifing city speed limits, we can find wrong speed limits.
Also out of cities we can check if all segments are with right SL...
What about this new function?
Fabianotkd
Waze Local Champs
Waze Local Champs
 
Posts: 207
Joined: Thu Jul 21, 2011 12:11 pm
Has thanked: 33 times
Been thanked: 58 times

Re: [Script] WME Color Highlights - 2.9 JUL 2016

Postby Timbones » Tue Jul 12, 2016 1:41 pm

v2.11 for Chrome includes previous updates, and fixes issue report by Olestas.
- it now only highlights Soft-turns and U-turns on main roads, if option is selected. No more RevCons.

v2.12 for Firefox includes previous updates, and fixes initialisation issue reported by taco999
Timbones
Coordinators
Coordinators
 
Posts: 6757
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 989 times
Been thanked: 2687 times

Re: [Script] WME Color Highlights - 2.9 JUL 2016

Postby taco909 » Tue Jul 12, 2016 12:04 pm

Beginning with 2.9 and still with 2.10, not initializing at all with Firefox.
With prior versions it was intermittent and would usually show up on a reload, but it is not working at all now.
taco909
Map Editor - Level 4
Map Editor - Level 4
 
Posts: 2230
Joined: Sun Jun 01, 2014 4:05 am
Location: Los Angeles Area
Has thanked: 720 times
Been thanked: 642 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: dfortney, RainMan3699