U-turn editing?

Coordinator: ottonomy & ARC: tonestertm
------------------------------------------------------------

Moderators: delilush, tonestertm, ottonomy

Re: U-turn editing?

Postby taco909 » Mon Dec 08, 2014 9:05 pm

PesachZ wrote:They are working on it (possibly actively) there are rumors of a U-turn verbal prompt in the client code which just hadn't been implemented yet.

Yup... I was poking through the TTS voice folder and found one (for Samantha).
No idea if it was there on 3.9.0.0 or not
-- Rich
taco909
Map Editor - Level 4
Map Editor - Level 4
 
Posts: 2230
Joined: Sun Jun 01, 2014 4:05 am
Location: Los Angeles Area
Has thanked: 716 times
Been thanked: 645 times

Re: U-turn editing?

Postby orbitc » Mon Dec 08, 2014 9:25 pm

Waze's been testing it for a while. We will have second stage of testing with the help of champs. In addition, when we do our MapRaid in LA, we will enable them there.
If you would like to be a part of the raid, please let me know.
http://goo.gl/forms/t35q5BEbrs
Regional Coordinator for Northeast (DE, NJ, NY, PA) & New England (CT, ME, MA, NH, RI, VT)
• ßeta Tester
• iOS ßeta: Always the latest version
• WME ßeta

[ img ][ img ][ img ][ img ]
WME | USA | MapRaid!
orbitc
Master Raider
Master Raider
 
Posts: 6462
Joined: Mon Jun 25, 2012 1:51 pm
Location: USA
Has thanked: 2555 times
Been thanked: 6522 times

Re: U-turn editing?

Postby PesachZ » Wed Dec 24, 2014 12:03 am

Linking to another thread reporting a U-turn prevention failure.

Sent using Tapatalk for Android 4.4.2


TrafficGuy01 wrote:UR reported Waze routed through a No U-Turn and the segment in questions is set at 13 meters

https://www.waze.com/editor/?env=usa&lo ... s=70700821

Wiki Guidelines indicate

U-turns can be avoided where two split roads intersect (in a # configuration, aka a Box junction) or a split road intersects an unsplit road (in an H configuration junction)

The length of the median segment (the "H" cross-bar) is 15 m (50 feet) or less.

The two parallel segments of the split road being used for the U-turn are one-way segments.

The two parallel segments of the split road being used for the U-turn are approximately parallel to each other.
*********************************************************************************
For safety to avoid possible errors caused by rounding and display discrepancies, and to ensure proper U-turn routing prevention, always avoid the gray area. Do not set median segments with an exact length of 15 m (50 feet), leave a 1 meter buffer. If you want to allow U-turns, set the median segment length at least 1 meter greater than 15 m (50 feet). Likewise to avoid U-turns, set the median segment length at least 1 meter less than 15 m (50 feet).
**********************************************************************************
So this does not seem to be working
PesachZ
Wiki Master
Wiki Master
 
Posts: 4503
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC} {ARC}
Has thanked: 1996 times
Been thanked: 2342 times

Re: U-turn editing?

Postby PesachZ » Wed Dec 24, 2014 1:35 am

PesachZ wrote:Linking to another thread reporting a U-turn prevention failure.

Sent using Tapatalk for Android 4.4.2


TrafficGuy01 wrote:UR reported Waze routed through a No U-Turn and the segment in questions is set at 13 meters

https://www.waze.com/editor/?env=usa&lo ... s=70700821

Wiki Guidelines indicate

U-turns can be avoided where two split roads intersect (in a # configuration, aka a Box junction) or a split road intersects an unsplit road (in an H configuration junction)

The length of the median segment (the "H" cross-bar) is 15 m (50 feet) or less.

The two parallel segments of the split road being used for the U-turn are one-way segments.

The two parallel segments of the split road being used for the U-turn are approximately parallel to each other.
*********************************************************************************
For safety to avoid possible errors caused by rounding and display discrepancies, and to ensure proper U-turn routing prevention, always avoid the gray area. Do not set median segments with an exact length of 15 m (50 feet), leave a 1 meter buffer. If you want to allow U-turns, set the median segment length at least 1 meter greater than 15 m (50 feet). Likewise to avoid U-turns, set the median segment length at least 1 meter less than 15 m (50 feet).
**********************************************************************************
So this does not seem to be working

After investigating this intersection, and the segments, it seems the issue may be that it didn't meet one of the criteria listed in the wiki.
The two parallel segments of the split road being used for the U-turn are approximately parallel to each other.

The southern segment was connected at a widening angle so where it connected to the median segment it was 13 meters apart from the northern segment. However where it junctioned with the ramp the northern and southern segments were 19 meters apart.

I've adjusted the segments to be parallel for the length of that first segment, and let's see if that fixes it after a tile build.
PesachZ
Wiki Master
Wiki Master
 
Posts: 4503
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC} {ARC}
Has thanked: 1996 times
Been thanked: 2342 times

Re: U-turn editing?

Postby nnote » Wed Dec 24, 2014 1:41 am

Here is a UR in AZ. The UR doesn't concern this issue, but the obvious GPS path that waze had the user take does. It is a U-Turn over an 11 meter segment. It seems to be a re-routing U-Turn according to what the user says and the path shown.

https://www.waze.com/editor/?env=usa&lo ... s=75922620
USA Territories Regional Coordinator : USA Champ : L6 State Manager Arizona
[ img ]
G+ Waze Arizona
Waze Arizona Twitter
nnote
US Waze Champs
US Waze Champs
 
Posts: 601
Joined: Sun Jun 19, 2011 6:25 pm
Location: Arizona USA
Has thanked: 69 times
Been thanked: 308 times

Re: U-turn editing?

Postby PesachZ » Fri Jan 02, 2015 8:43 pm

I've received and tested new information from Waze which radically change what we thought about how U-turns are prevented.
I'll be working to elegantly add this to the wiki. But in all preliminary tests it has been working

Waze staff wrote:1. A median shorter than 15M.
2. Parallel roads. The angle is determined regardless of the median. It's the angle of the start of each segment in each road relative to the north and the driving direction. In the case of parallel roads with opposite driving directions, one will have an angle of 0 degrees and one of a 180 degrees (give or take 5 degrees). This is regardless of what happens to the segment after the start point in that intersection​.

To explain this a bit clearer I like to look at it as 3 rules.
1) The median segment is less than 15m.
2) The first and last segment of the uturn are one-way segments, with opposite driving directions.
3) The portion of those two segments closest to the median segment must be exactly parallel ±5°.

How is parallel measured? Look at the junction between the first segment and the median as the center of a compass, and the draw a straight line from the last portion of the approaching road through the junction to the edge of the compass. The angle it points to is the angle of that segment (we'll call it segment A).
Now position the junction between the median and the second segment at the center of the compass. Draw a straight line from the junction over the first portion of that last segment and continue to edge of the compass. That angle it's pointing at is the angle of the last segment (segment C). Now if those two angles are 180° apart (±5°), the segments are considered parallel.
The math, start with the higher of the two angles mentioned, subtract 180, then subtract the other (lower) angle. If the number you're left with is between -5 to 5, the segments are considered parallel.

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

Re: U-turn editing?

Postby voludu2 » Fri Jan 02, 2015 9:54 pm

For the wiki:
1) The median segment is less than 15m.
2) The first and last segment of the uturn are one-way segments, with opposite driving directions.
3) The portion of those two segments closest to the median segment must be exactly parallel ±5°.

A convenient way to check for parallel is relative to the short segment. There should be no geometry nodes on this segment. then we need to check two angles:
X -- the angle between the incoming one-way segment and the short segment
Y -- the angle between the outgoing one-way segment and the short segment.
If the sum of these two angles is within 5 degrees of 180, then rule 3 is satisfied.

In the example below, angle X is 102 degrees and angle Y is 75 degrees. The sum is 177, which is within 3 degrees of 180. Therefore rule 3 is satisfied.
LilyPondAve_no_U.JPG
(64.97 KiB) Downloaded 1244 times


[ img ]
USA Northeast Region Discord Chat
State Manager - Pennsylvania
Country Manager - USA and Thailand
Wiki Master, Global Mentor
utilitas, simplicitas, retentionis
voludu2
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 2979
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 759 times
Been thanked: 1173 times

Re: U-turn editing?

Postby taco909 » Sat Jan 03, 2015 6:35 am

Good to hear.

So basically, everything we've been doing to meet the last information (make the roads as parallel as possible through the junctions) has resulted in us creating proper geometry for this to work.

Nice that the angles of the cross street do not matter, so two 90s or a 45 and a 135 will still function.
-- Rich
taco909
Map Editor - Level 4
Map Editor - Level 4
 
Posts: 2230
Joined: Sun Jun 01, 2014 4:05 am
Location: Los Angeles Area
Has thanked: 716 times
Been thanked: 645 times

Re: U-turn editing?

Postby PesachZ » Sun Jan 04, 2015 12:01 am

taco909 wrote:Good to hear.

So basically, everything we've been doing to meet the last information (make the roads as parallel as possible through the junctions) has resulted in us creating proper geometry for this to work.

Nice that the angles of the cross street do not matter, so two 90s or a 45 and a 135 will still function.

Correct we had basically stumbled across certain criteria, which when they were met, by default meant the real criteria were also being met. Witynthe complete information I have now successfully prevented U-turns on curved roads, rounded medians, diagonal medians, and using micro doglegs.

I want to publicly thank the Waze staff for working closely with us to get to the bottom of this once-and-for-all.

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

Re: U-turn editing?

Postby PesachZ » Sun Jan 04, 2015 12:08 am

voludu2 wrote:For the wiki:
1) The median segment is less than 15m.
2) The first and last segment of the uturn are one-way segments, with opposite driving directions.
3) The portion of those two segments closest to the median segment must be exactly parallel ±5°.

A convenient way to check for parallel is relative to the short segment. There should be no geometry nodes on this segment. then we need to check two angles:
X -- the angle between the incoming one-way segment and the short segment
Y -- the angle between the outgoing one-way segment and the short segment.
If the sum of these two angles is within 5 degrees of 180, then rule 3 is satisfied.

In the example below, angle X is 102 degrees and angle Y is 75 degrees. The sum is 177, which is within 3 degrees of 180. Therefore rule 3 is satisfied.
LilyPondAve_no_U.JPG


I was thinking something along those lines myself, but you wrote it already so nicely. Two items I want to incorporate to emphasize are;
1) when we say "opposite direction" we are not referring to one segment being A->B, and the other being B->A. It just matters that the physical direction of travel is opposite.
2) if the actual median segment is purposely not straight, we can measure the angles by creating a temporary new straight median segment connected at both junctions, check (adjust) the angles as necessary, then delete the new temporary segment. Since urge actual geometry of the median is irrelevant we could have round, or angulated medians as long as they are still less than 15m.

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

PreviousNext

Return to US Southwest

Who is online

Users browsing this forum: No registered users