[Script] WME Roundabout Angles

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, JustinS83, Glodenox

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 Roundabout Angles v1.04

Postby FZ69617 » Fri Oct 24, 2014 7:55 am

PesachZ wrote:If you reply to this post with what you would want in the opening post, we can then move it there

OK :)

First of all, I'd ask for changing the subject into:

[Script] WME Roundabout Angles v1.05

And something like the following quotation could be useful I guess:
The WME Roundabout Angles script can help in designing the normal roundabouts.

It draws angles for typical roundabout and overlays helper line to adjust geometry of roundabout.
The script provides guidance based on the rules described there:
https://wiki.waze.com/wiki/Roundabouts/ ... structions

The original authorship of the script is by wlodek76, who decided to leave the Waze community (hopefully, not forever...).
The rights for further maintenance of the script has been granted by the original author to FZ69617.

The script is currently hosted at GreasyFork there:
https://greasyfork.org/scripts/5400-wme ... out-angles

Short usage instruction:
- Activate the script by enabling "Roundabout Angles" layer in WME - the activation is not persisted, thus the script shall be activated each time its needed after reloading the WME page.
- The script shall automatically find all roundabouts on visible area of the map - pan and/or zoom the map, if it doesn't find them.

Feel free to moderate it, if you think I missed something. :)

Thanks!
FZ69617
Waze Local Champs
Waze Local Champs
 
Posts: 933
Joined: Fri Jul 25, 2014 9:29 am
Location: Zielona Góra, Poland
Has thanked: 36 times
Been thanked: 237 times

Re: [Script] WME Roundabout Angles v1.04

Postby PesachZ » Fri Oct 24, 2014 2:44 pm

How about this, what do you think?
The WME Roundabout Angles script can help in designing normal roundabouts.

It draws angles for typical roundabouts and overlays a round helper line to adjust the geometry of a roundabout.
The script provides guidance based on the rules described in the roundabouts wiki page.

The original authorship of the script is by wlodek76, who decided to leave the Waze community (hopefully, not forever...).
The rights for further maintenance of the script has been granted by the original author to FZ69617.

The script is currently hosted at GreasyFork:
https://greasyfork.org/scripts/5400-wme-roundabout-angles

Brief instructions:
  • Activate the script by enabling the "Roundabout Angles" layer in WME
  • The default is inactive, therefore the script will always be off when you reload WME. It must be activated again each time its needed (after reloading WME).
  • The script will automatically find all roundabouts visible on the map - pan and / or zoom the map, if it doesn't find them.
  • Angles will only be displayed for Normal Roundabouts (four or less nodes). Not normal roundabouts will still display the round helper line in a slightly different color, and a line to the first three nodes, but no angles will be displayed.




Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
 
Posts: 4507
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC}
Has thanked: 1997 times
Been thanked: 2353 times

Re: [Script] WME Roundabout Angles v1.04

Postby FZ69617 » Fri Oct 24, 2014 9:51 pm

PesachZ wrote:How about this, what do you think?

Almost perfect! :)

The only little problem I see in the last bullet:
PesachZ wrote:
  • Angles will only be displayed for Normal Roundabouts (four or less nodes). Not normal roundabouts will still display the round helper line in a slightly different color, and a line to the first three nodes, but no angles will be displayed.

The angles are also displayed for non-normal roundabouts. The only condition that makes a visual difference is a number of nodes.

I'd rather prefer here:
  • Angles will only be displayed for roundabouts with four or less nodes. The other roundabouts will still display the round helper line in a slightly different color, together with a line to the first three nodes, but no angles will be displayed.

What do you think?
FZ69617
Waze Local Champs
Waze Local Champs
 
Posts: 933
Joined: Fri Jul 25, 2014 9:29 am
Location: Zielona Góra, Poland
Has thanked: 36 times
Been thanked: 237 times

Re: [Script] WME Roundabout Angles v1.04

Postby PesachZ » Sun Oct 26, 2014 2:23 pm

OK here goes, I will try to get this updated shortly to the OP.
The WME Roundabout Angles script can help in designing normal roundabouts.

It draws angles for typical roundabouts and overlays a round helper line to adjust the geometry of a roundabout.
The script provides guidance based on the rules described in the roundabouts wiki page.

The original authorship of the script is by wlodek76, who decided to leave the Waze community (hopefully, not forever...).
The rights for further maintenance of the script have been granted by the original author to FZ69617.

The script is currently hosted at GreasyFork:
https://greasyfork.org/scripts/5400-wme-roundabout-angles


Brief instructions:
  • Activate the script by enabling the "Roundabout Angles" layer in WME
  • The default is inactive, therefore the script will always be off when you reload WME. It must be activated again each time its needed (after reloading WME).
  • The script will automatically find all roundabouts visible on the map - pan and / or zoom the map, if it doesn't find them.
  • Angles will only be displayed for roundabouts with four or less nodes. The other roundabouts will still display the round helper line in a slightly different color, together with a line to the first three nodes, but no angles will be displayed.
PesachZ
Wiki Master
Wiki Master
 
Posts: 4507
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC}
Has thanked: 1997 times
Been thanked: 2353 times

Re: [Script] WME Roundabout Angles v1.04

Postby PesachZ » Sun Oct 26, 2014 2:43 pm

I added this script into the wiki as well here Community Plugins, Extensions and Tools#WME Roundabout Angles

Sent using Tapatalk for Android 4.4.2
PesachZ
Wiki Master
Wiki Master
 
Posts: 4507
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC}
Has thanked: 1997 times
Been thanked: 2353 times

Re: [Script] WME Roundabout Angles

Postby PesachZ » Sun Oct 26, 2014 3:49 pm

the original post has been updated with this info. Thanks doctorkb
PesachZ
Wiki Master
Wiki Master
 
Posts: 4507
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC}
Has thanked: 1997 times
Been thanked: 2353 times

Re: [Script] WME Roundabout Angles

Postby FZ69617 » Tue Apr 05, 2016 10:44 pm

WME Roundabout Angles version 1.06 has been published.

Change log:
  • New: Roundabount Angles layer enablement persisted in local storege.
  • New: Added yellow color marker for uncertain angles.
  • Change: Roundabount center taken from junction model geomentry if available.
  • Change: Logic slightly modified in order to better support various roundabount types.
  • Other: Minor code refactoring and cleanup.

A yellow angle maker feature preview:

[ img ]

The marker is used when a script is uncertain whether an angle measured would cause keeping a roundabout normal or not. That is, a yellow marker is in effect when an angular distance of an entry/exit from a normal (multiple of 90°) ranges from 13° to 15°. For the angle absolute values > 15° a red angle marker is displayed as before.

This simple new feature helps in quicker finding and fixing of the roundabouts which, depending on the entering node, acts as both a normal and non-normal at the same time.

Please let me know if you experience any problems using a new version.
FZ69617
Waze Local Champs
Waze Local Champs
 
Posts: 933
Joined: Fri Jul 25, 2014 9:29 am
Location: Zielona Góra, Poland
Has thanked: 36 times
Been thanked: 237 times

Re: [Script] WME Roundabout Angles

Postby B_Carp » Mon May 09, 2016 11:35 am

Great script! Could I please ask about the reported diameter of a roundabout using this script? When I draw a roundabout using WME, if I drag it to 10m, then this script will report the diameter as 18m. Why the discrepancy? Which is correct?
B_Carp
 
Posts: 429
Joined: Wed May 06, 2015 11:43 am
Has thanked: 118 times
Been thanked: 105 times

Re: [Script] WME Roundabout Angles

Postby lg1992 » Sat Jul 16, 2016 8:39 am

URL of WME beta was changed from https://editor-beta.waze.com/editor to https://beta.waze.com/editor and that broke the script.
Leonid, Country Manager, Israel
lg1992
Country Manager
Country Manager
 
Posts: 3686
Joined: Fri May 04, 2012 9:50 am
Has thanked: 213 times
Been thanked: 713 times

Re: [Script] WME Roundabout Angles

Postby Arnoniem » Fri May 19, 2017 11:36 am

Could someone re-work this script, so that the layer shows up in latest WME layer menu? I presume that's the main reason for not working, but if there's something else preventing the RA angles to show up, that may be fixed as well. :D
Global Champ BeNeLux Champs UAE Champs Android Beta Coordinator Middle East
CM:The Netherlands CM:U.A.E. CM:Oman CM:Thailand
[ img ]
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 2271
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 343 times
Been thanked: 611 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: No registered users