Add ability to create a no_u_turn restriction with a way "via" #3567
Comments
Author: Richard We'll certainly add this, but probably not before P2 goes live on the main site (as we're concentrating on bugfixes and parity with P1 for now), and with a UI that's consistent with the existing editor rather than the above "click in order" idea. |
Author: stevage Can you point us to an example of this kind of intersection somewhere? I'm having trouble picturing it. |
Author: ponzu Certainly: http://osm.org/go/TPVwL_aE5-- There are no U turns allowed at the intersection of Enterprise and Parker Place. Therefore, four turn_restriction relations are required. Because both Enterprise and Parker Place are drawn as divided roads, it is meaningless to used the nodes as the "via" members. The routing algorithms will ignore such restrictions because they will consider each maneuver in question to be a left turn onto the cross-street rather than a U turn. At the same time, it will not do to add left turn restrictions, because left turns are, of course, permitted. I was told in the Help forum that using the short section of the cross street as the "via" member does the trick and the routing algorithms respect it. I personally have not had a chance to verify this theory because CloudMade takes forever to accommodate the OSM changes and this particular intersection still looks as it was 2 weeks ago before I added the restrictions. But I assume the person who gave this advice knows what he is talking about. Now if only it was as easy to create such restrictions as it is to create them when the "via" member is a node. Here's the original discussion: http://help.openstreetmap.org/questions/3530/what-is-the-proper-way-to-add-no-u-turn-restrictions-when-the-road-is-divided |
Author: stevage Thanks for the concrete example. I'm not sure what the "ultimate" GUI behaviour for this would be, but this would work: If there are exactly three ways selected, and if they connect end to end, and if at least one is oneway=yes/-1, then we can unambiguously determine the three roles. It would be nice to have proper editors for the different kinds of turn restrictions, and a way to add ways to a relation (rather than only being able to add relations to a way). |
Author: dbaron[at]dbaron.org A simpler example, where the ways involved are not all oneway, is the intersection of 20th and Guerrero in San Francisco. http://www.openstreetmap.org/?lat=37.758352&lon=-122.423497&zoom=18&layers=M There are signs facing both directions forbidding U-turns on Guerrero (i.e., from Guerrero and to Guerrero), which is divided. 20th is not divided. |
Reporter: ponzu
[Submitted to the original trac issue database at 5.09pm, Sunday, 6th March 2011]
Potlatch2 currently has a dialog for creating a no_u_turn restriction with a node as the "via" member. As more and more divided roads are being (correctly) split into to one-way ways, the intersections are represented by either one or four short ways instead of a node. Creating a no_u_turn restriction for such intersections with a way as the "via" member currently involves a lot of clicks. The UI could works as follows:
The text was updated successfully, but these errors were encountered: