[Script] WME Color Speeds v1.2.6

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 Color Speeds v1.2.4

Postby ojlaw » Sun May 27, 2018 12:50 pm

awesome, thank you so much!
County Manager USA
WI State Manager
IL Large Area Manager
CA, MN, ND, WA Area Manager
[ img ][ img ][ img ][ img ][ img ][ img ][ img ]
ojlaw
Country Manager
Country Manager
 
Posts: 158
Joined: Wed Jul 22, 2015 12:07 am
Has thanked: 89 times
Been thanked: 69 times

[Script] WME Color Speeds v1.2.6

Postby seb-d59 » Sat Nov 21, 2015 12:00 am

Hi everybody,

In association with Sebiseba and dummyd2.

- In preview: colorization of the speeds A to B and B to A on two-way segment
- Customizable list of speeds and/or colors for the verified speeds.
- Verified speeds out-of the the list: red dashed.
- Unverified speeds: light red dotted line.

- Compatible Kmh / mph and driving on the left or right.
I explain, on a one-way segment:
* In France colorization will be on the right of the segment.
* in England colorization will be on the left of the segment.
- It can be disabled in the Layers menu.
Layer.jpg
(1.19 KiB) Downloaded 4311 times


Fully compatible with all scripts and WME Colors HighLight.

Heu.... Enjoy :mrgreen: ;)

Available on greasyfork

Update V1.0.0 of 05/05/2016:
  • Added setting offset, opacity and thickness.
  • Possibility custom color throughout the range RGB.
  • For the USA: possibility of having a palette of color by state.

Update V1.1.0 of 19/08/2016
  • Adding road categories: Parking Lot Road and Private Road.
  • Possibility to not displaying Roundabout.
  • WME Beta compatibility.

Update V1.1.1 of 11/09/2016
  • WME Beta compatibility.

Update V1.1.3 of 25/09/2016
  • Possibility to set a palette by country.

Update V1.1.4 of 09/10/2016
  • WME Beta compatibility.

Update V1.1.5 of 10/11/2016
  • WME translation compatibility for other langages than Fr and En.

Screen in France and England for exemple :

KmhInFrance.jpg
(126.95 KiB) Downloaded 4298 times

MphInEngland.jpg
(88.53 KiB) Downloaded 4327 times

Reglages.jpg
Reglages
(18.33 KiB) Downloaded 2388 times

ColorsAdjust.jpg
Colors Adjust
(8.52 KiB) Downloaded 2372 times
Last edited by seb-d59 on Tue Aug 14, 2018 5:49 pm, edited 16 times in total.
seb-d59
Waze Local Champs
Waze Local Champs
 
Posts: 1855
Joined: Fri Jan 03, 2014 8:01 am
Location: Croix (59)
Has thanked: 508 times
Been thanked: 611 times

Re: [Script] WME Color Speeds

Postby seb-d59 » Mon Nov 23, 2015 5:51 pm

vince1612 wrote:Merci pour le partage, toujours top les scripts made in France ;)

Merci à toi ;)

For information, I have to rewrite the post for better understanding.
And, I'm sorry for the late publication.
seb-d59
Waze Local Champs
Waze Local Champs
 
Posts: 1855
Joined: Fri Jan 03, 2014 8:01 am
Location: Croix (59)
Has thanked: 508 times
Been thanked: 611 times

Re: [Script] WME Color Speeds

Postby seb-d59 » Sun Nov 29, 2015 7:34 pm

Hi,

A small update that adds a grid for selected the controlled segment type and the max zoom level for this control (adjustable by clicking the pencil).

Reminder: zoom 0 = seen from afar; zoom 10 = close-ups.

Bug fix on deleting speed from the list.

----------------------------------------------------------------------------------------
Salut,

Une petite mise à jour qui ajoute une grille pour sélectionné le type de segment contrôlé et, le niveau de zoom maximum pour ce contrôle (réglable en cliquant sur le crayon).

Rappel: zoom 0 = vu de loin; zoom 10 = gros plans.

Correction d'un bug sur la suppression de la vitesse à partir de la liste.

RoadType.jpg
(9.72 KiB) Downloaded 4265 times
seb-d59
Waze Local Champs
Waze Local Champs
 
Posts: 1855
Joined: Fri Jan 03, 2014 8:01 am
Location: Croix (59)
Has thanked: 508 times
Been thanked: 611 times

Re: [Script] WME Color Speeds

Postby seb-d59 » Sun Jan 24, 2016 9:42 am

AlanOfTheBerg wrote:55mph is stored at 89kph in the Waze data. The math done by the script ends up rounding to 56 instead of 55. The following code change works better I think:

fwdspeed = (fwdspeed!=null) ? (Math.trunc(fwdspeed*0.625)) : null;
revspeed = (revspeed!=null) ? (Math.trunc(revspeed*0.625)) : null;

RANT: not sure why Waze uses .625 is, as the conversion when .621 is closer. And 0.6213711922374 is significantly closer to the actual value.


For the conversion, Waze has changed it, because it was functional at the beginning, as we can see from the screenshot in the first post.
Thank for the tip "Math.trunc". I'll add it.

AlanOfTheBerg wrote:Would be great to get this localized down to the state in the US with specific colors by state to align each with the DOT map colors.

For that, I do not understand, you want a different color by state for the same speed?
For me 50 Mp/h is 50 Mp/h or 90km/h is 90Km/h regardless of the state or country ...

But a filter by city / state / country, why not....

For the color choice, i look what i can do, and how do that.
seb-d59
Waze Local Champs
Waze Local Champs
 
Posts: 1855
Joined: Fri Jan 03, 2014 8:01 am
Location: Croix (59)
Has thanked: 508 times
Been thanked: 611 times

Re: [Script] WME Color Speeds

Postby seb-d59 » Sun Jan 24, 2016 5:14 pm

Ok, now I see. ;)
So, this involves generating object in live with the name of the State, it is not insurmountable :)
But, I do that as inactive option by default.

I look at this.

For the color of highlight selection, i have the same in firefox and chrome on Linux, with no solution for the moment...
seb-d59
Waze Local Champs
Waze Local Champs
 
Posts: 1855
Joined: Fri Jan 03, 2014 8:01 am
Location: Croix (59)
Has thanked: 508 times
Been thanked: 611 times

Re: [Script] WME Color Speeds

Postby seb-d59 » Sun Feb 07, 2016 6:05 pm

AlanOfTheBerg wrote:The update posted today broke 55mph again. Please include the truncation code I provided previously. 55mph comes up as "unknown" speed because the math is wrong.

Rectified, sorry :oops:
seb-d59
Waze Local Champs
Waze Local Champs
 
Posts: 1855
Joined: Fri Jan 03, 2014 8:01 am
Location: Croix (59)
Has thanked: 508 times
Been thanked: 611 times

Re: [Script] WME Color Speeds

Postby seb-d59 » Thu Feb 25, 2016 7:12 pm

TheLastTaterTot wrote:Hi there, thanks for this script! I'm not sure why it's not more popular than the alternative, WME Speeds. The fact that you've added the math to shift the highlights to the left or right sides of the segment makes this one far superior. Anyway, I was wondering what these dropdown menus are for? I don't see anything in them. All other scripts except WME Color Speeds have been disabled, but still nothing.

I'm running Chrome Version 48.0.2564.116 (64-bit) on Mac OS 10.10.5.


These dropdown menus are for select the new color.

Have you modified the script?
Because, i see it like this:
MenuDeroulant.jpg
(21.59 KiB) Downloaded 981 times
seb-d59
Waze Local Champs
Waze Local Champs
 
Posts: 1855
Joined: Fri Jan 03, 2014 8:01 am
Location: Croix (59)
Has thanked: 508 times
Been thanked: 611 times

Re: [Script] WME Color Speeds

Postby seb-d59 » Thu Feb 25, 2016 7:53 pm

TheLastTaterTot wrote:I have a suspicion it might be related to Mac OS, but I'm not sure.

It's possible...
For information, the script was tested on FF/Chrome under Window and i use it on FF or Chrome under Linux.
seb-d59
Waze Local Champs
Waze Local Champs
 
Posts: 1855
Joined: Fri Jan 03, 2014 8:01 am
Location: Croix (59)
Has thanked: 508 times
Been thanked: 611 times

Re: [Script] WME Color Speeds

Postby seb-d59 » Sat Apr 09, 2016 7:50 pm

For information, I'm already working on a major update, to let you change colors as you wish:
FuturUpdate.jpg
(8.89 KiB) Downloaded 930 times


Very soon...
seb-d59
Waze Local Champs
Waze Local Champs
 
Posts: 1855
Joined: Fri Jan 03, 2014 8:01 am
Location: Croix (59)
Has thanked: 508 times
Been thanked: 611 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: airchair, sketch