Project

General

Profile

Support #6636

Left hand driving attribute?

Added by Douglas Reece 7 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
specification 1.5
Start date:
09.10.2017
Due date:
% Done:

70%


Description

I apologize if I missed this, but I cannot find anything in the 1.4 spec that indicates that a particular Road is for left hand driving (driving on the left side of the road) or right hand. Is this in the spec somewhere?

odrSpec06.png View (28.5 KB) Marius Dupuis, 21.01.2018 17:58

History

#1 Updated by Thomas Bleher 6 months ago

I don't think there's anything at the moment. However, there is some discussion on adding a country code in 1.5 (see #6441). From this it would be possible to deduce left- vs right-handedness.

#2 Updated by Douglas Reece 6 months ago

Thomas Bleher wrote:

I don't think there's anything at the moment. However, there is some discussion on adding a country code in 1.5 (see #6441). From this it would be possible to deduce left- vs right-handedness.

Hmm. That means every simulator has to have a list of left-hand drive countries? Wouldn't it be simpler to just add left-hand to a road (or at least, to the header) as an attribute? Also, looking at representing larger road networks, how would you represent a network that crossed country boundaries?

#3 Updated by Marius Dupuis 6 months ago

We could extend the "<road><type .../></road>" entry with an attribute in order to cover this requirement. If nothing is given, then the right side driving is assumed otherwise each road needs to be attributed e.g. with

<road  name=...>
  <type s="0.0" type="motorway" leftSide="true"/>
</road>

or we make it easier and just make it an attribute of the road header

<road name="myRoad" ... leftSide="true">
:
</road>

#4 Updated by Douglas Reece 6 months ago

Yes, I think those are both good solutions. Probably there would be no need to change the value of leftSide along a single road (i.e. at different s values), so making it an attribute of the road (option 2) is probably better.

#5 Updated by Marius Dupuis 3 months ago

  • File odrSpec06.png View added
  • Category changed from general to specification 1.5
  • Status changed from New to Resolved
  • % Done changed from 0 to 70

In accordance with the technical terms in Wikipedia, I added the following to the specification:

Also available in: Atom PDF