[Script] WME Color Highlights - 2.33 Sept 2020

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 Highlights - 2.0 Sep 2015

Postby Timbones » Mon Sep 14, 2015 8:00 pm

New version! (sorry it's been a while)

  • Tweaked some highlights so they work better on new road layer (subjective)
  • Fixed initialisation of current city on Beta editor
  • Editor list sorted alphabetically
  • Extra option added to editor list: "all except me" (cheesy hack)
  • Cities sorted properly according to locale
  • Added colour highlights to Canal and Swamp.
  • Removed highlighting of Railroads and Farms
  • Fixed duff code wrt. housenumbers
Available from Greasyfork and Chrome Web Store (see first post)
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 7031
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 1071 times
Been thanked: 3010 times

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Postby Timbones » Fri Nov 06, 2015 11:32 pm

vaindil wrote:Hey Timbones, thanks for this awesome addon. Any chance a highlight will be added for tunnels now that they've been pushed to prod?

Fredo-p wrote:Can we get segments with tunnel attributes added to the list? Unless this was already requested.

v2.1 - added highlight of tunnels to "Highlight a Road Type"

highlight-tunnels.png
Highlight Tunnels
(2.58 KiB) Downloaded 588 times


:ugeek:
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 7031
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 1071 times
Been thanked: 3010 times

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Postby Timbones » Sat Nov 07, 2015 1:19 am

It's tricky, as I've run out of unique colours. Are there any that no one uses any more? Like unknown direction? (Obviously not, looking at screenshot above)

You could try combining other extensions, such as Validator to highlight roads types with a custom rule, or Street Vector Layer which has special rendering for tunnels.

There will potentially be other special flags for segments besides Tunnel, so I need a design that will be able to include them when the time comes...
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 7031
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 1071 times
Been thanked: 3010 times

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Postby Timbones » Sat Nov 07, 2015 9:48 am

I don't like using dashed highlights, as it affects the ability to select the segments. I'll have another think about how to present this option.

Ideally, tunnels should be part of the native road layer as it's a physical property of the road. I suspect that the special flags will be extended to include other physical properties in the future. No idea if Waze have any plans to render them natively though. Tolls and restrictions are already shown by road layer (even though they're not physical).

It would help me if you could explain how you would use the Tunnel highlight. How often do you need to worry about tunnels anyway? All the tunnels in my country have been done...
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 7031
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 1071 times
Been thanked: 3010 times

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Postby Timbones » Sat Nov 07, 2015 5:12 pm

Olestas wrote:Timbones, filter by Country, please? :D

What's the use case? (My country is an island, so I'm not familiar with it).
The Filter by City option already shows state or country name if near a border.

Olestas wrote:Hmm.. there is some problem with latest version. If I select any place, it cannot be deselected. When disabling script, everything back to normal.

Can you provide more information? I can't replicate this problem on my setup.
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 7031
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 1071 times
Been thanked: 3010 times

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Postby Timbones » Sun Nov 08, 2015 12:22 pm

Fredo-p wrote:Got a new one for you. Speed limits have been added. Think the request to get roads that don't have them highlighted will come in soon?

You'd like to highlight segments without speed limits, rather than those with? I wonder if Validator would be more suitable for this...

Street Vector Layer is already able to show the speed limit in rainbow colours depending on the set speed. It also shows A->B speeds separately from B->A speeds.
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 7031
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 1071 times
Been thanked: 3010 times

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Postby Timbones » Sun Nov 08, 2015 12:29 pm

Twister-UK wrote:With both the latest versions of WMECH and WMERC installed (with no other add-ons running), the Routes tab doesn't show up when two segments are selected. Problem exists both in FF and Chrome.

Do you have the latest version of WMERC - v1.18? Routes has it's own tab now.
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 7031
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 1071 times
Been thanked: 3010 times

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Postby Timbones » Mon Nov 09, 2015 12:33 am

Olestas wrote:When I open editor with places turned on, this thing happens after I click on any place.

I fixed an issue that was occurring on Firefox (v2.2). Let me know if that fixes it.

As for Chrome, I still can't see any problems. What errors do you see in the Developer console?
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 7031
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 1071 times
Been thanked: 3010 times

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Postby Timbones » Sat Nov 14, 2015 10:13 pm

Yes, purple nodes have Restrictions, and this can be toggled on or off as required.

(Generally it's better to use restrictions on segments rather than nodes, and it's not necessary to have both)

Sent from my Nexus 4 using Tapatalk
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 7031
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 1071 times
Been thanked: 3010 times

Re: [Script] WME Color Highlights - 2.3 Nov 2015

Postby Timbones » Sun Nov 15, 2015 5:54 pm

Version 2.3: By poplar demand, I've added option to show segments without verified speed limits in orange. By default it will only show highlights on Primary Street or higher, but there's a secondary option to show the highlight on Streets as well. Roundabouts are never highlighted.

Not tested on Firefox, so let me know if you experience any problems. Chrome version to follow...

(Thanks for the patch, Glodenox, though I already has this in the works, slightly delayed by real life)
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 7031
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 1071 times
Been thanked: 3010 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: Google Feedfetcher, ldriveskier, Mapman44, Mythdraug, The_Cre8r