Talk:Tag:highway=motorway junction

From OpenStreetMap Wiki
Jump to: navigation, search

Similar tag for trunk road junctions?

Could we add a tag "highway=trunk_junction" for trunk roads or are these not common? In germany, the exits of trunk-roads mostly have a name (usually the name of the town/city to where the exit leads via primaries or such) but have no numbers. How is the situation in other countries? --Jannis 17:24, 22 January 2008 (UTC)

It's the same thing in France. And these exits can have numbers. Wagner51 10:56, 8 February 2008 (UTC)
Other than the name, is there any particular reason why this tag is not appropriate for these exits? Chriscf 10:40, 18 September 2008 (UTC)
The only one that I can see is that it's then hard to tell what category of road the junction is for - should it be a blue number, green number etc. Gravitystorm 10:12, 23 September 2008 (UTC)
Perhaps, but we can deal with that when it becomes a real problem. As things stand, you can establish what type of road it's for by the road it's attached to. That is, once we've got rid of the sited-for-the-renderer nodes. Chriscf 10:53, 23 September 2008 (UTC)

Names and destinations

Some mappers seem to be adding the exit destinations as the name. I don't think this is the right thing to do, as IMO, the name tag should be the name of the junction itself (e.g. "Lofthouse Interchange", or "Spaghetti Junction" - though the latter is a common name for "Gravelly Hill Interchange, but that's a different kettle of worms). Do we need an exit_to tag?--Tms13 12:12, 3 June 2009 (UTC)

Don't know if it's used, but there's Relations/Proposed/Destination_Signs. Alv 12:34, 3 June 2009 (UTC)

I agree. In fact I've just swapped a 'name' to an 'exit_to' key on this junction node Having 'Gatwick Airport' in a name tag was causing incorrect matches on this geocoding query. Now CloudMade could adjust their algorithms to filter this out (and may have to for reliability), but it is bad tagging in my opinion. There's plenty of scope for systems (anything automatically examining name tags) to get confused if we start putting signed destination names in name=*. So I agree we should not do that. -- Harry Wood 14:31, 11 June 2009 (UTC)

How about junction=exit instead?

Why is this a highway=*? Wouldn't it be cleaner with junction=*? And whats with the motorway bias? 'exit' would work (and not be confusing) in any highway level. --Gorm 19:31, 3 July 2010 (UTC)

I think it's highway=motorway_junction because motorway junctions are grade-separated… and highway=grade-separated_junction just looks stupid. Kevin Steinhardt 00:08, 9 August 2010 (BST)
So you are saying that only motorways are grade separated? I think not: --Gorm 01:23, 17 August 2010 (BST)
I personally wouldn't be against doing it this way, but I think highway=exit would be better if it was changed. --Rickmastfan67 05:20, 17 August 2010 (BST)

Street name

Should a street name on an exit sign be included as name, exit_to, or not at all? If the exit sign just has a street name, does that count as the name of the junction itself? The thing is that the road where the exit ramp ends does not always match the road on the sign. Evil saltine 05:14, 11 March 2011 (UTC)

The text on the sign would be exit_to. The street it leads directly to is already in the database as the way that intersects the chain of motorway_links that begins at the motorway_junction node. A junction name is a separate thing that often doesn't exist. --NE2 06:44, 11 March 2011 (UTC)
Thanks. Evil saltine 14:23, 23 March 2011 (UTC)

Multiple exits - Collector roads

In Virginia there are approximately 47 "exits" which lead to collector roads which then have the actual exists. In some areas these have been tagged by separating the actual exit numbers with semicolons, e.g. ref=123A;123B;123C. However you then have additional nodes on the collector road which are the actual exits, ref=123A, etc. How is this to be handled? For the Virginia Department of Transportation (VDOT) database, they indicate this initial "exit" with the X suffix, e.g. 123X. I doubt this is the way to go, at least not without sufficient warning to the routing developers out there, not to mention there might actually be an X suffix used somewhere in the world. -- Joshdoe 02:28, 2 April 2011 (BST)

There's a 2X in Kansas City: and a 15X in New Jersey. What I've done is find a sign that lists all the exits together and use whatever it uses. That might be 123, 123A-B-C, 123ABC, or 123A-C. If there's no such sign, I guess you'd use whatever is normally used in that area of the state. --NE2 17:28, 2 April 2011 (BST)
I agree with matching the sign - I've seen it two ways that I can find: 123 or 123A-C MikeN 00:54, 3 April 2011 (BST)
Ha, thanks for that picture, good to know! So we'd all agree to create multiple exits then, and to use whatever is on the sign or whatever is common convention in that area? Then later if necessary we could add a tag like motorway_junction=collector_road or something to indicate that it's not an actual exit from the interstate (assuming you consider the collector road to be part of the interstate). -- Joshdoe 02:08, 3 April 2011 (BST)

Where to split the junction

The text states that the splitting point should be located at the place where junction "spplits" from mailine, but this is not very clear what exactly is meant by this. Also for routing SW it would be nice if we can distinguish at least two (if not more) places - point where the splitting line emerges and the point where it separate from the continuing lanes (point where the two lanes stop to be separated only by a full line and diverge). Apart from this there are also other interesting points, for example the point where the full line starts - i.e. the last point where I can choose whether I take the exit or not. Also there is a fourth place - the point where link and mainline stop to be connected by surface and separate. All these points can be several hundreds meters apart from each other. Also some of these splitting points are not only of academic interest, but they can be very useful for navigation SW which provide navigation in lanes.


We don't mark the point at which lines become solid on approaching an at-grade intersection. (Also, depending on where you are, it may be legal to cross a single solid line.) --NE2 16:10, 18 August 2011 (BST)

Clarification please

I have cleaned up the article to make it clearer and simpler, however there were a couple of things I did not understand. Can people please clarify:

  • The difference between 'exit-to' and 'destination'
  • What is meant by: 'Note for Germany: The links between the main motorways should only be tagged with the ref=* of the motorway they are going to if there are signs or other sources saying so.'
  • What is meant by: 'destination:ref=* and lanes=* can be used on the ways directly after the junction. The tag destination:lanes=* can be used on complex motorway_junctions. These tags may be needed to support a lane assistant in navigation devices'.


-- PeterIto 02:29, 20 January 2013 (UTC)

The first and third point are about where a link or a lane leads, i.e. the destination. There are usually standards in each country how this information is signposted. For example, in this case, the rightmost lane has (among other things) "Osnabrück" listed as destination, and A30 as destination:ref.
If all lanes of a highway=* way lead to the same destination, you can add an ordinary destination[:ref] tag on them. This is often, though not always, the case with highway=*_link ways. If a highway has lanes to different destinations, you can use the Lanes syntax, producing the keys destination[:ref]:lanes. Hence the text quoted in your third point.
The remark about lanes=* is probably based on the hope that you can omit the destination[:ref]:lanes key in simple cases because an application may guess the lane layout from the number of lanes on the ways after the split: For example, if there is an oneway road with 4 lanes, its end node connects to two 2-lane-roads, and the right one of these roads has destination=Paris, then it could be reasonably assumed that the to rightmost lanes of the 4-lane-road also had destination=Paris even if this is not tagged explicitly. I'm not sure whether relying on these assumptions is a good idea or even common practice, but afaik OsmAnd has such an heuristic (predating the Lanes syntax) and I guess that it is the inspiration for this remark.
exit_to and destination are different in where are used (and unfortunately, the page does no longer make this clear after your edit): destination is used on ways as described above, whereas exit_to is used on the highway=motorway_junction node. There has been some support for deprecating exit_to entirely (and imo it has indeed become redundant), but no unanimous consensus could be reached.
Finally, the second point says that ref tags should be used on German motorway_links if and only if either a sign like #401 or #405 is present or an official motorway directory or similar source lists that ref.
--Tordanik 03:33, 20 January 2013 (UTC)
Thanks for responding so promptly. Can I ask you to reflect the above in the article itself which will probably work better than my trying to interpret your comments? PeterIto 04:47, 20 January 2013 (UTC)
You added, "This node should be positioned as the last position at which is the legally possible to make the turn." That's counter to current practice, and would potentially cause problems for those of us who use OSM for routing - usually one wishes to enter the slip-road at its beginning (and that's what the 3-2-1 countdown markers indicate in GB). Having one's GPS indicate that the turn is at the last possible legal position (not even the last possible safe position) is certainly problematic. I cannot endorsed that wording.--tms13 19:29, 20 January 2013 (UTC)
Ideally, the main road would be split where the deceleration lane begins, and the lane=* tag changed accordingly for the duration of said lane. At the junction node, the deceleration lane becomes an off-ramp, i.e. a new way, and the main road continues again with the (usually) original lanes=* tag. Alv 22:17, 20 January 2013 (UTC)
I agree with User Alv in this case: the junction node should not be at the beginning but at its ending. The argument regarding routing is none: every serious navigation device gives you instruction ahead of fork of ways. If the fork is at the beginning the navigation devices will give wrong instructions e.g. in the cases of a series of exits that are only a few hundred meters apart. If you want to indicate the start of the slip-laned use - as Alv suggested - the lanes tag and maybe also the turn:lanes/change:lanes tag. This would provide the router with accurate information about the start and end of the slip lane. And I also want to add that in my region this is not counter to current practice: most of the splits are around the legal separation. --Imagic 08:32, 21 January 2013 (UTC)
Thanks for the comments. To be clear, I have no strong views on the above - my main objective with the wiki is to make things clearer with less words. As such do please make it fit with good practice. PeterIto 10:46, 21 January 2013 (UTC)

There is absolutely no standard practice as to where to start the link. I do it where it "flows best" - that is, where it doesn't introduce kinks in the way. (This is no different from mapping an acute at-grade intersection.) Others seem to apply special rules to links (which can produce horrible results when taken to the extreme - a weaving lane that's a separate way, or (on a surface road) a driveway that connects to the link rather than the main road as it should). --NE2 00:56, 22 January 2013 (UTC)

deprecating exit_to

Hi all - I see that this page still has some strong references to exit_to=*. As noted above, this tag has become pretty much redundant now that the more versatile destination=* has come into wide use. Routing engines like GraphHopper and MapQuest Open already favor this tag over exit_to=*. At Telenav we are also going to be using destination=* for signpost information. There is some discussion going on in the comments section of my diary entry. I already edited the exit_to=* page to reflect this and tone down the wording from 'should be used' to 'has traditionally been used'. Perhaps it is time to edit this page as well to not emphasize the use of exit_to=* and encourage the use of destination=* instead. I didn't want to do this without raising it here first though. Mvexel (talk) 16:12, 11 July 2014 (UTC)

Did you already do this? I am for further de-emphasizing exit_to here.--Jojo4u (talk) 09:06, 30 July 2015 (UTC)
What was proposed by Mvexel has not yet been done. That being said, personally I think it's time for exit_to=* to die already. Most of its page reads like a self-justification for the tag existing in the first place ('look at how many nodes have it, and look how much work it would be to change it!', to which I reply, 'That's irrelevant if there is a newer, superior, and better documented standard to do it.' -- which there now is.) In a year's time, 'destination' has already nearly overtaken exit_to in the United States itself, and destination is coming up with sensible augmentations to deal with United States NHTSA signs like destination:street destination:street:to, destination:ref:to, junction:ref on ways for double exit references, etc (See Exit Info). I'd like to see exit_to=* shown as deprecated on its own page, destination=* upgraded to defacto, and see exit_to eliminated entirely from this page, except where used for instructions to convert exit_to to destination=* tagging. Skybunny (talk) 22:27, 30 July 2015 (UTC)
De-emphasizing done. "Deprecating" should be accompanied by mailing list post. Something I'm not inclined to do since I'm not US-local. The wiki editing aftwards can be done by then, though.--Jojo4u (talk) 15:34, 13 September 2015 (UTC)

Junction for entrance

How (and) should entrance nodes for motorways be mapped? Even if they have a ref.

I guess this is partly done by destination=*, but what about refs?

Here is an example of an entrance to a motorway which may have a reference number: 27279140. I do not really no where both the name=* and the ref=* does come from. Because the contributor is not giving any source. But perhaps the source may be Bundesanstalt für Straßenwesen. (BTW: This seems to be an official Website, but I do not have any idea, whether this is a legitimate source for OSM.)--U715371 (talk) 10:21, 23 March 2015 (UTC)