osi3::RoadMarking::Classification Struct Reference
Classification data for a road surface marking.
More...

Public Types
| enum | Type { TYPE_UNKNOWN = 0, TYPE_OTHER = 1, TYPE_PAINTED_TRAFFIC_SIGN = 2, TYPE_SYMBOLIC_TRAFFIC_SIGN = 3, TYPE_TEXTUAL_TRAFFIC_SIGN = 4, TYPE_GENERIC_SYMBOL = 5, TYPE_GENERIC_LINE = 6, TYPE_GENERIC_TEXT = 7 } |
| Definition of road marking types. More... | |
| enum | Color { COLOR_UNKNOWN = 0, COLOR_OTHER = 1, COLOR_WHITE = 2, COLOR_YELLOW = 3, COLOR_BLUE = 5, COLOR_RED = 6, COLOR_GREEN = 7, COLOR_VIOLET = 8, COLOR_ORANGE = 9 } |
| Definition of semantic road marking colors. More... | |
Public Attributes
| optional Type | type = 1 |
| The type of the road marking. More... | |
| optional TrafficSign::MainSign::Classification::Type | traffic_main_sign_type = 2 |
| Traffic sign as road marking (color image, monochrome image or character string). More... | |
| optional Color | monochrome_color = 3 |
| The semantic monochrome color of the road marking. More... | |
| optional TrafficSignValue | value = 4 |
| Additional value associated with the road marking, e.g. More... | |
| optional string | value_text = 5 |
| Additional text value as road marking, e.g. More... | |
| repeated Identifier | assigned_lane_id = 6 |
| The ID(s) of the lane(s) that the road marking is assigned to. More... | |
| optional bool | is_out_of_service = 7 |
| Boolean flag to indicate that the road marking is taken out of service. More... | |
| optional string | country = 8 |
| Country specification of the traffic sign catalog specification that identifies the actual traffic sign. More... | |
| optional string | country_revision = 9 |
| Revision specification of the traffic sign catalog specification that identifies the actual traffic sign. More... | |
| optional string | code = 10 |
| Code specification of the traffic sign catalog specification that identifies the actual traffic sign. More... | |
| optional string | sub_code = 11 |
| Sub-code specification of the traffic sign catalog specification that identifies the actual traffic sign. More... | |
| repeated LogicalLaneAssignment | logical_lane_assignment = 12 |
| Assignment of this object to logical lanes. More... | |
Detailed Description
Classification data for a road surface marking.
Member Enumeration Documentation
◆ Type
Definition of road marking types.
◆ Color
Definition of semantic road marking colors.
- Note
- The color types represent the semantic classification of road markings only. They do not represent an actual visual appearance.
Member Data Documentation
◆ type
| optional Type osi3::RoadMarking::Classification::type = 1 |
The type of the road marking.
◆ traffic_main_sign_type
| optional TrafficSign::MainSign::Classification::Type osi3::RoadMarking::Classification::traffic_main_sign_type = 2 |
Traffic sign as road marking (color image, monochrome image or character string).
- Note
- Field is set if (
type==TYPE_PAINTED_TRAFFIC_SIGNorTYPE_SYMBOLIC_TRAFFIC_SIGNorTYPE_TEXTUAL_TRAFFIC_SIGN). -
Field need not be set (or set to
TYPE_OTHER) if road marking type (type) does not require it.
- Attention
- Deprecated: A revision is planned for version 4.0.0 to replace the type enum with a more semantically defined enumeration, with the exact sign specification being relegated to the newly introduced 4-tupel traffic sign catalog specification as used in OpenDRIVE.
- Rules
- check_if this.type is_greater_than_or_equal_to 2 else do_check is_setcheck_if this.type is_less_than_or_equal_to 4 else do_check is_set
◆ monochrome_color
| optional Color osi3::RoadMarking::Classification::monochrome_color = 3 |
The semantic monochrome color of the road marking.
- Note
- The color types represent the semantic color classification of road markings only. They do not represent an actual visual appearance.
-
Field need not be set (or set to
COLOR_OTHER) if road marking type does not require it (e.g. fortype==TYPE_PAINTED_TRAFFIC_SIGN).
- Rules
- check_if this.type is_equal_to 2 else do_check is_setcheck_if this.monochrome_color is_equal_to 1 else do_check is_set
◆ value
| optional TrafficSignValue osi3::RoadMarking::Classification::value = 4 |
Additional value associated with the road marking, e.g.
value of the speed limit.
- Note
- Field need not be set if road marking type does not require it.
-
OSI 3 uses
value_textand notTrafficSignValuefor simple chars.
◆ value_text
| optional string osi3::RoadMarking::Classification::value_text = 5 |
Additional text value as road marking, e.g.
BUS, TAXI etc.
- Note
- Field need not be set if road marking type does not require it.
◆ assigned_lane_id
| repeated Identifier osi3::RoadMarking::Classification::assigned_lane_id = 6 |
The ID(s) of the lane(s) that the road marking is assigned to.
May be multiple if the road marking goes across multiple lanes.
- Note
- OSI uses singular instead of plural for repeated field names.
- Rules
- refers_to: Lane
◆ is_out_of_service
| optional bool osi3::RoadMarking::Classification::is_out_of_service = 7 |
Boolean flag to indicate that the road marking is taken out of service.
This can be achieved by visibly crossing the road marking with stripes, or completely covering a road marking making it not visible.
◆ country
| optional string osi3::RoadMarking::Classification::country = 8 |
Country specification of the traffic sign catalog specification that identifies the actual traffic sign.
This is part of the 4-tupel traffic sign catalog specification as used in OpenDRIVE.
Country is specified using the ISO 3166-1, alpha-2 code https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2, or the special OpenDRIVE country for generic signs.
- Rules
- check_if this.type is_greater_than_or_equal_to 2 else do_check is_setcheck_if this.type is_less_than_or_equal_to 4 else do_check is_set
◆ country_revision
| optional string osi3::RoadMarking::Classification::country_revision = 9 |
Revision specification of the traffic sign catalog specification that identifies the actual traffic sign.
This is part of the 4-tupel traffic sign catalog specification as used in OpenDRIVE.
The year the traffic rules came into force.
e.g. "2017"
- Note
- Field is set if (
type==TYPE_PAINTED_TRAFFIC_SIGNorTYPE_SYMBOLIC_TRAFFIC_SIGNorTYPE_TEXTUAL_TRAFFIC_SIGN). -
Field need not be set (or set to
TYPE_OTHER) if road marking type (type) does not require it.
- Rules
- check_if this.type is_greater_than_or_equal_to 2 else do_check is_setcheck_if this.type is_less_than_or_equal_to 4 else do_check is_set
◆ code
| optional string osi3::RoadMarking::Classification::code = 10 |
Code specification of the traffic sign catalog specification that identifies the actual traffic sign.
This is part of the 4-tupel traffic sign catalog specification as used in OpenDRIVE.
Code identifier according to country and country revision, corresponds to the type field of OpenDRIVE.
code is only unique in combination with country and country_revision.
e.g. http://www.vzkat.de/2017/VzKat.htm
- Note
- Field is set if (
type==TYPE_PAINTED_TRAFFIC_SIGNorTYPE_SYMBOLIC_TRAFFIC_SIGNorTYPE_TEXTUAL_TRAFFIC_SIGN). -
Field need not be set (or set to
TYPE_OTHER) if road marking type (type) does not require it.
- Rules
- check_if this.type is_greater_than_or_equal_to 2 else do_check is_setcheck_if this.type is_less_than_or_equal_to 4 else do_check is_set
◆ sub_code
| optional string osi3::RoadMarking::Classification::sub_code = 11 |
Sub-code specification of the traffic sign catalog specification that identifies the actual traffic sign.
This is part of the 4-tupel traffic sign catalog specification as used in OpenDRIVE.
Sub-code identifier according to country, country revision and code, corresponds to the subtype field of OpenDRIVE.
sub_code is only unique in combination with country, country_revision, and code.
e.g. http://www.vzkat.de/2017/VzKat.htm
- Note
- Field is set if (
type==TYPE_PAINTED_TRAFFIC_SIGNorTYPE_SYMBOLIC_TRAFFIC_SIGNorTYPE_TEXTUAL_TRAFFIC_SIGN). -
Field need not be set (or set to
TYPE_OTHER) if road marking type (type) does not require it.
- Rules
- check_if this.type is_greater_than_or_equal_to 2 else do_check is_setcheck_if this.type is_less_than_or_equal_to 4 else do_check is_set
◆ logical_lane_assignment
| repeated LogicalLaneAssignment osi3::RoadMarking::Classification::logical_lane_assignment = 12 |
Assignment of this object to logical lanes.
- Note
- OSI uses singular instead of plural for repeated field names.
- osi_roadmarking.proto