Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misuse of source:maxspeed for edits in UK #492

Closed
SK53 opened this issue Aug 16, 2017 · 27 comments
Closed

Misuse of source:maxspeed for edits in UK #492

SK53 opened this issue Aug 16, 2017 · 27 comments
Assignees
Labels
feedback required more info is needed, issue will be likely closed if it is not provided

Comments

@SK53
Copy link

SK53 commented Aug 16, 2017

Some years ago a long discussion on talk-gb agreed that information of about the type of speed limit would be added in a tag maxspeed:type and source:maxspeed would be used, as expected, for information about how the maxspeed was obtained (survey, aerial imagery etc). Therefore adding source:maxspeed tags with values like GB:rural is strongly deprecated. I realise that usage may be different elsewhere, but I think it is important that mapping tools respect community consensus.

The UK consensus was to always add a numeric value in maxspeed, use maxspeed:type to clarify whether the value was absolute (explicitly signed as such) or a national speed limit (denoted by the black bend on white sign). How the maxspeed information was obtained (survey, aerial etc) belongs in the source:maxspeed tag.
Adding a source:maxspeed tag alone is very poor practice and almost certainly will not be recognised by any data consumers.

Additionally the valid values for maxspeed:type in the UK are:

  • GB:nsl_dual (i.e., 70 mph)
  • GB:nsl_single (i.e., 60 mph)
  • GB:motorway
  • GB:national (also used but deprecated because of the differences between dual & single carriageways.

There is no 'rural' speedlimit tag in the UK, and limited need to map generic urban speedlimits. Urban speed limits are more-or-less universally signed. Historically, some where not and places with streetlights did default to the national urban limit (so GB:urban is valid, but not very useful).

There is a residual tail of source:maxspeed tags with type values but these date back to before the discussion alluded to as above.

@westnordost
Copy link
Member

Would source:maxspeed=rural+lanes>=4 be equivalent to GB:nsl_dual?

@trigpoint
Copy link

trigpoint commented Aug 16, 2017

Would source:maxspeed=rural+lanes>=4 be equivalent to GB:nsl_dual?

No, as SK53 says there is no rural speed limit in the UK. the national speed limit is perfectly possible in a built up area.

GB:nsl_dual is determined by it being a dual carriageway, it has nothing to do with the lane count.

HTH

@trigpoint
Copy link

@westnordost
Copy link
Member

Ah, so it is oneway=yes. So, the difference between gb:nsl_single and gb:nsl_dual is that one is oneway and the other is not?

@SK53
Copy link
Author

SK53 commented Aug 16, 2017 via email

@westnordost
Copy link
Member

Since you mention exceptions, what would the user need to be asked exactly to differentiate between nsl_single and nsl_double?

@SK53
Copy link
Author

SK53 commented Aug 16, 2017 via email

@westnordost
Copy link
Member

I am not sure if I understand you fully. If you are basically saying that if the survey-user (through StreetComplete) would at least answer that "national speed limit applies", this is a useful thing, then I understand.
But how to tag this unspecified-national-road then (in Britain)? I wouldn't want to introduce new tags or fixmes with StreetcCmplete.

@trigpoint
Copy link

I am not sure what you mean by the last pargraph, maybe ask if it is a single or dual carriageway?

@westnordost
Copy link
Member

westnordost commented Aug 17, 2017

I guess that would be the necessary thing to ask. So, to summarize the request made with this ticket is an exception in behavior made for streets in the UK:

  • when selecting "there is no sign" as an answer, the user shall be asked whether this is a single or dual carriageway instead of whether it is a rural road or not
  • for when no speed limit is posted, the key maxspeed:type shall be used instead of source:maxspeed with the same values used as for the latter except for rural and urban, instead use nsl_single and nsl_dual respectively to what the user answered in the previous point

I am going to post some objections towards implementing this special behavior later, I just want to understand and document first what exactly should be done for this ticket to be solved.

@westnordost westnordost added the feedback required more info is needed, issue will be likely closed if it is not provided label Aug 21, 2017
@mrenvoize
Copy link

There are basically five types of speed limit in the UK: Motorway (always 70 unless it's "variable" in which case electronic overhead signs change the speed limit depending on traffic conditions. National Speed Limit (Dual Carriage Way). National Speed Limit (Single Carriage Way). Urban (30) and finally 'Signed'.

I'm not up to date on the tagging of these myself. But hope that explanationay help to explain why the tags exist in their current form in the UK.

Sent from my Sony D5803 using FastHub

@mrenvoize
Copy link

A signed limit can be found pretty much anywhere except for motorways. If not signed, the road could be any of the other limits. It may be crazy, but even a tiny rural Road where you would dream of driving at 60 will have an official limit of national Speed Limit if it's not otherwise signed.

Sent from my Sony D5803 using FastHub

@SK53
Copy link
Author

SK53 commented Aug 30, 2017

Certainly use maxspeed:type not source:maxspeed. This is probably the most important objection in my OP, as it overrides a long-standing convention of the relevant community.

Introducing rural and urban tag values is not critical, but not particularly useful either. I always worry when one tool introduces a tagging practice which is fundamentally different from that established by the community. I'm perfectly aware that this makes life difficult for a worldwide application. In general if this continue to be used they should be regarded as fixmes.

30 mph limits do not have repeater signs: the old rule (not repealed) was if a road had streetlighting the speed limit was 30 mph unless another speedlimit was posted. This is the closest to urban, but technically it applies to any section of road, whether in a town or not. You may need to look at the proportion of answers rural/urban in the UK to see if this is an issue.

If no-one is answering urban then you can ask the single or dual carriageway question. Otherwise stick with urban/rural and perhaps set the maxspeed:type=GB:national. It would then remain for local mappers to add the maxspeed tag.

HTH

@westnordost
Copy link
Member

westnordost commented Aug 30, 2017

I thought the whole thing through again. I think I will actually change that for implicit street limits, always the maxspeed:type tagging scheme is used, for every country. Because:

  1. StreetComplete is kinda misusing source:maxspeed, even in the documented not-accepted-by-the-British interpretation of the tag, because source:something always refers to something. But StreetComplete does not set that something (maxspeed) in that case.
  2. the fundamental critique of source:maxspeed is correct anyway - the convention is that source:* describes the source of the tag. An implicit speed limit type/zone is not a source.
  3. the definition of maxspeed:type is solid and there is no reason to not also use it outside of Great Britain.
  4. worldwide data consumers need to look at both maxspeed:type, source:maxspeed (and zone:maxspeed) anyway to derive a concrete speed limit for an implicit one, so it shouldn't make much difference anyway.
  5. source:maxspeed can be (automatically) inferred from maxspeed:type, but not the other way round, as source:maxspeed may contain other values, such as sign, survey, imported data from open datasource XYZ...

I reckon that is a relatively weak line of argumentation, because one can argue that maxspeed:type also refers to a maxspeed, but I'd say, less so, plus, point 2 and 5 definitely speaks for maxspeed:type.

Also, I need to note this down here: This is not an argumentation about the deprecation for source:maxspeed or anything but just my rationale which tag among several alternatives this app shall use.

And second, don't always use the rural/urban value scheme, but implement country-wise exceptions to that if other things determine the implicit speed limit. In that case, so far GB will be the only exception.

@SK53 : Question - can nsl_single and nsl_dual always be inferred from oneway=yes/no?

@westnordost westnordost self-assigned this Aug 30, 2017
@SK53
Copy link
Author

SK53 commented Aug 30, 2017 via email

@westnordost
Copy link
Member

It's just that many users might not be able to answer if it is single or dual carriageway, also, I would say that asking users for this street lighting thing is also not very straightforward. So, for Britain, I lean towards tagging everything implicit (minus trunk, motorway, living_street) as maxspeed:type=GB:national or even posing the rural/urban question and tagging as such if that might be helpful to determine things and will not spur protest in GB.

@trigpoint
Copy link

maxspeed:type=GB:national would not be appropriate as it does not distinguish between single and dual carriageways.

@westnordost
Copy link
Member

And how will the user, @trigpoint ?

@westnordost
Copy link
Member

Any comment regarding what I last said from you, @SK53 ?

@westnordost
Copy link
Member

So,... what about this then? @trigpoint @SK53

@westnordost
Copy link
Member

I now opened a topic in the forum, so it can be discussed by a larger audience.
https://forum.openstreetmap.org/viewtopic.php?id=60025

westnordost added a commit that referenced this issue Oct 11, 2017
…gle carriageway and tag GB:nsl_single/GB:nsl_dual (#492)
@westnordost
Copy link
Member

westnordost commented Oct 11, 2017

Actually, I implemented that (do not use rural/urban but nsl_single/dual) now. Question asked is:

"Are the carriageways of this road here physically separated (i.e. through a barrier)? The default speed limit depends on whether this is the case or not."

Regarding maxspeed:type, I will still wait some days if any cogent arguments turn up that speak against the switch from source:maxspeed to maxspeed:type in the German forum (since source:maxspeed mostly originated from Germany).

@systemed
Copy link

systemed commented Oct 11, 2017

@westnordost The UK forum is probably a smaller audience than here :) - most UK users use the talk-gb mailing list.

On the specific question

Question - can nsl_single and nsl_dual always be inferred from oneway=yes/no?

Not always - for example, the 'flares' leading into a roundabout (and indeed the roundabout itself) are one-way, but not formally dual carriageways. Where people have mapped pedestrian islands and other road-centre obstructions by splitting the way, that too would not be classed as a dual carriageway.

Aside from roundabouts, flares and slip-roads, however, I'd estimate that well over 95% of rural one-way NSLs are indeed dual carriageways. I've been trying to think of counter-examples and all of them have an explicitly signed speed limit (rather than NSL). You can probably detect flares by their short length, roundabouts by the junction=roundabout tag, and slip-roads by the _link tagging.

Edit: https://goo.gl/maps/91NnxqgUaeL2 is a rural NSL one-way road which isn't a dual carriageway. (@trigpoint may know it - it's in his part of the world!) Apologies for GSV link.

@westnordost
Copy link
Member

westnordost commented Oct 11, 2017 via email

westnordost added a commit that referenced this issue Oct 13, 2017
…ing (#492)

also, change lit quest to respect all three different keys for the same thing
@westnordost
Copy link
Member

@systemed Another case where this may be is when a road is simply not mapped that much in detail in OSM that the two carriageways are actually drawn separate. Probably this happens very seldomly in reality, but this app should not assume something if it can be 100% sure.

@westnordost
Copy link
Member

All done.

@systemed
Copy link

@westnordost Yep. To be fair I've never seen that in the UK (our road network is well mapped) but it's reasonably common in the US.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback required more info is needed, issue will be likely closed if it is not provided
Projects
None yet
Development

No branches or pull requests

6 participants