[Script] WME Color Highlights - 2.22 Feb 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] Colour Highlights for Segments - v1.6.2 Apr 201

Postby iknietjij » Sun Jun 02, 2013 8:51 am

I agree, finding time is, though. I may have to check out Tampermonkey then.
iknietjij
 
Posts: 241
Joined: Sun Feb 17, 2013 9:28 pm
Has thanked: 5 times
Been thanked: 17 times

Re: [Script] Colour Highlights for Segments - v1.6.2 Apr 201

Postby doctorkb » Sun Jun 02, 2013 7:16 am

iknietjij wrote:Works wonders, just have to figure out some time to make it a crx now.. annoying chrome update.


That's not too hard... But why not just use TamperMonkey? I just switched as this update ticked me off... And it's awesome, especially when you're tweaking a script.
doctorkb
Coordinators
Coordinators
 
Posts: 4050
Joined: Wed Nov 04, 2009 9:17 am
Location: Edmonton, Alberta, Canada
Has thanked: 621 times
Been thanked: 1605 times

Re: [Script] Colour Highlights for Segments - v1.6.2 Apr 201

Postby iknietjij » Sun Jun 02, 2013 6:58 am

AlanOfTheBerg wrote:
tonestertm wrote:I don't know if it's possible, but I'd love to have CH indicate segments stacked on top of one another, especially when they're both set at the same Road Level.

I think I've asked for this before too. :) I'd love to see both a "conflict" checker (which is pretty advanced as the code must figure out if two segments overlap: not a trivial matter to code), and a level display: where each level is a color of the rainbow and I can scan for overlapping same colors.

It's fairly simple with some basic math, actually. I've added it to my personal version of the highlight script, two different types of checks: one which simply checks the start and end nodes of each segment and highlights those for which they overlap. This may be incorrect with segments which have sharp turns though.. so I added a second option which checks every geometry point of each segment, although this may be slow when lots of segments are loaded. It doesn't check road levels though, just indicates which segments overlap. Very useful in case you're creating a new city block and simply join various segments into a node.. you tend to forget some :)

And I've added many other items to the script, like unreachable segments (with no green incoming TRs), highlighting of dead end segments (also useful when creating those city blocks), highlighting of all types of roads instead of one, color picker for everything, nodes which can be removed, segments with multiple geometry points so it makes it easy to figure out which streets to straighten if needed, etc :)

Works wonders, just have to figure out some time to make it a crx now.. annoying chrome update.
iknietjij
 
Posts: 241
Joined: Sun Feb 17, 2013 9:28 pm
Has thanked: 5 times
Been thanked: 17 times

Re: [Script] Colour Highlights for Segments - v1.6.2 Apr 201

Postby gohamstergo » Sat Jun 01, 2013 7:04 pm

huckd wrote:I think this script and link should be added to this WIKI page.

Done. Added a basic heading for it. If someone wants to make a more detailed description, or change its position, feel free.
gohamstergo
 
Posts: 253
Joined: Mon Dec 12, 2011 8:11 pm
Location: Irving, TX
Has thanked: 38 times
Been thanked: 19 times

Re: [Script] Colour Highlights for Segments - v1.6.2 Apr 201

Postby HuckD » Sat Jun 01, 2013 2:50 pm

gohamstergo wrote:you may already know about it, but there is a script that shows levels, but it does conflict with this script.


I think this script and link should be added to this WIKI page.
HuckD
Map Raider
Map Raider
 
Posts: 234
Joined: Fri May 03, 2013 1:45 pm
Location: Albany, GA, USA
Has thanked: 74 times
Been thanked: 69 times

Re: [Script] Colour Highlights for Segments - v1.6.2 Apr 201

Postby gohamstergo » Sat Jun 01, 2013 6:15 am

huckd wrote:Thanks for this link gohamstergo! I was not aware of it and have found several level errors in my little editable area. Gave ya a thumbs up.

No problemo :) I made a point to search "WME" and "Waze" on userscripts to find any script I could a little while after I started editing.
AlanOfTheBerg wrote:One of these scripts for levels needs to be incorporated into WMECH.

Ya, that would be nice and handy if that was added.
gohamstergo
 
Posts: 253
Joined: Mon Dec 12, 2011 8:11 pm
Location: Irving, TX
Has thanked: 38 times
Been thanked: 19 times

Re: [Script] Colour Highlights for Segments - v1.6.2 Apr 201

Postby AlanOfTheBerg » Fri May 31, 2013 7:03 pm

gohamstergo wrote:
AlanOfTheBerg wrote:I think I've asked for this before too. :) I'd love to see both a "conflict" checker (which is pretty advanced as the code must figure out if two segments overlap: not a trivial matter to code), and a level display: where each level is a color of the rainbow and I can scan for overlapping same colors.

you may already know about it, but there is a script that shows levels, but it does conflict with this script.

One of these scripts for levels needs to be incorporated into WMECH.
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 23605
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 1125 times
Been thanked: 4785 times

Re: [Script] Colour Highlights for Segments - v1.6.2 Apr 201

Postby HuckD » Fri May 31, 2013 4:31 pm

gohamstergo wrote:you may already know about it, but there is a script that shows levels, but it does conflict with this script.


Thanks for this link gohamstergo! I was not aware of it and have found several level errors in my little editable area. Gave ya a thumbs up.
HuckD
Map Raider
Map Raider
 
Posts: 234
Joined: Fri May 03, 2013 1:45 pm
Location: Albany, GA, USA
Has thanked: 74 times
Been thanked: 69 times

Re: [Script] Colour Highlights for Segments - v1.6.2 Apr 201

Postby gohamstergo » Fri May 31, 2013 4:49 am

AlanOfTheBerg wrote:I think I've asked for this before too. :) I'd love to see both a "conflict" checker (which is pretty advanced as the code must figure out if two segments overlap: not a trivial matter to code), and a level display: where each level is a color of the rainbow and I can scan for overlapping same colors.

you may already know about it, but there is a script that shows levels, but it does conflict with this script.
gohamstergo
 
Posts: 253
Joined: Mon Dec 12, 2011 8:11 pm
Location: Irving, TX
Has thanked: 38 times
Been thanked: 19 times

Re: [Script] Colour Highlights for Segments - v1.6.2 Apr 201

Postby AlanOfTheBerg » Tue May 28, 2013 8:56 pm

tonestertm wrote:I don't know if it's possible, but I'd love to have CH indicate segments stacked on top of one another, especially when they're both set at the same Road Level.

I think I've asked for this before too. :) I'd love to see both a "conflict" checker (which is pretty advanced as the code must figure out if two segments overlap: not a trivial matter to code), and a level display: where each level is a color of the rainbow and I can scan for overlapping same colors.
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 23605
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 1125 times
Been thanked: 4785 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: bz2012, jangliss