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.

Post Reply
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.

[Request] Clean Geometry Script Please

Post by Kinematic
This would be purely for geometry purposes to keep roads nice and clean. I was looking for a script that you could set the junction angles at a desired angle. Just as you can see the junction angles with junction angle info, this script would give you the capabilities to go ahead and enter the angles instead of having to move the node it's self. Of course the segments would have to have all ready been created. So having to select up to 4 segments maximum for a perfect 90/90/90/90 etc.
Just tossing out the idea.
Kinematic
Map Raider
Map Raider
Posts: 155
Has thanked: 34 times
Been thanked: 26 times

POSTER_ID:17029094

1

Send a message
Last edited by Kinematic on Sat Feb 28, 2015 2:48 pm, edited 1 time in total.
[img]https:///Evwimo[/img][img]https:///ESnp3j[/img]
Montana Wiki | MT To Do List

Post by Dev0
+1
Dev0
Posts: 637
Has thanked: 110 times
Been thanked: 142 times
Send a message

Post by jondrush
I was just thinking how nice a script like this would be.
jondrush
EmeritusChamps
EmeritusChamps
Posts: 2660
Has thanked: 73 times
Been thanked: 375 times
Send a message

Post by Kinematic
Thanks for the detailed response taco99. You are correct, unfortunately there are way to many parameters that come into play. I was simply looking for a 90 degree script for intersections, but now you have brought up valid points as to why it wouldn't work and how some may become over zealous in using it and ruing junctions and how Waze interprets those.
Kinematic
Map Raider
Map Raider
Posts: 155
Has thanked: 34 times
Been thanked: 26 times
Send a message
Last edited by Kinematic on Fri Mar 27, 2015 1:09 pm, edited 1 time in total.
[img]https:///Evwimo[/img][img]https:///ESnp3j[/img]
Montana Wiki | MT To Do List

Post by taco909
I asked for this a few months ago.
The problem is that no script can intelligently determine what needs to be done to adjust the angles.

Do you need to move the junction itself (and are there any hidden doglegs that will be damaged by this)?
Do you need to slip a dogleg?
Do you need to add a dogleg?
Do you need to go to the middle of one of the feeders and make the adjustment from there?


I know we all have our OCD side, that's one reason we do this, but this is something that simply does not matter. Anything greater than 45 degrees is treated the same way.

There are only a few angles that are important:

Minimum 20 degree inside angle (160 degree "turn") so users can tap arrows to report closures. This is not a functional "rule"... Waze will work with the inside angle at 1 degree, but users will not be able to isolate the segment to report a closure.

Under 45 degrees produces "stay/exit", or no instruction for BC
Over 45 degrees produces "Turn" even for BC, unless it is the only available option.
(I personally avoid anything between 40 and 50, as we don't want something on 44 getting bumped to 46 by accident)

Divided highway u-turn penalty is added when the crossover segment is under 15m and the sum of the approach and departure angles is between 176 and 184 degrees (note, a pair of 90 are not required, a skewed intersection will properly penalize with a 70 degree entry and 110 degree exit)

Conversely, divided highway u-turn will be routed when the crossover segment is under 15m the sum of the approach and departure angles is less than 175 or greater than 185 degrees, and it is allowed by the turn restrictions.
If the crossover segment is over 15m, then only the 20<45< rule applies, the u-turn will be routed if allowed by the turn restrictions.

Beyond that, it's simply not important. The app does not display the aerial imagery, the app does not render segment separations of much under 15-20m, the app "smooths" curves so we do not need 50 geonodes on a curve to have the road appear "nice" to the driver.
taco909
Map Editor - Level 4
Map Editor - Level 4
Posts: 2250
Has thanked: 744 times
Been thanked: 640 times
Send a message
-- Rich

Post by taco909
Especially on a divided highway where the U-turn is allowed in one direction and prohibited in the other.
This can be done without AGC by making the crossover segment 14m, and on the prohibited side, the sum of the angles is 176-184, and on the permitted side, doglegs are added to set the angles to 170 or 190.
taco909
Map Editor - Level 4
Map Editor - Level 4
Posts: 2250
Has thanked: 744 times
Been thanked: 640 times
Send a message
-- Rich