Skip to content

Commit d451441

Browse files
committed
add attribute country, country_revision, code and sub_code to traffic sign classification (mainSign and supplementarySign
1 parent 45dab98 commit d451441

File tree

1 file changed

+52
-3
lines changed

1 file changed

+52
-3
lines changed

osi_trafficsign.proto

Lines changed: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,23 @@ message TrafficSign
283283
optional bool vertically_mirrored = 6;
284284

285285
// Boolean flag to indicate that a traffic sign is taken out of service.
286-
// This can be achieved by visibly crossing the sign or covering it completely.
286+
// This can be achieved by visibly crossing the sign or covering it completely.
287287
//
288-
optional bool is_out_of_service = 7;
288+
optional bool is_out_of_service = 7;
289+
290+
// Specifies the country
291+
optional Country country = 8;
292+
293+
// The year the traffic rules come into force
294+
optional string country_revision = 9;
295+
296+
// Code identifier according to country code
297+
//
298+
optional string code = 10;
299+
300+
// Subcode identifier according to country code
301+
//
302+
optional string sub_code = 11;
289303

290304
// Definition of traffic sign types.
291305
// Numbers are given according to German StVO.
@@ -5534,10 +5548,24 @@ message TrafficSign
55345548
repeated Arrow arrow = 6;
55355549

55365550
// Boolean flag to indicate that the supplementary traffic sign is taken out of service.
5537-
// This can be achieved by visibly crossing the sign or covering it completely.
5551+
// This can be achieved by visibly crossing the sign or covering it completely.
55385552
//
55395553
optional bool is_out_of_service = 7;
55405554

5555+
// Specifies the country
5556+
optional Country country = 8;
5557+
5558+
// The year the traffic rules come into force
5559+
optional string countryevision = 9;
5560+
5561+
// Code identifier according to country code
5562+
//
5563+
optional string code = 10;
5564+
5565+
// Subcode identifier according to country code
5566+
//
5567+
optional string sub_code = 11;
5568+
55415569
// Definition of supplementary sign types.
55425570
//
55435571
// For general supplementary signs use \c #TYPE_TEXT.
@@ -9399,4 +9427,25 @@ message TrafficSign
93999427
//
94009428
VARIABILITY_VARIABLE = 3;
94019429
}
9430+
9431+
9432+
// Definition of country.
9433+
enum Country
9434+
{
9435+
// Country is unknown
9436+
//
9437+
COUNTRY_UNKNOWN = 0;
9438+
9439+
// Country is Germany
9440+
//
9441+
GERMANY = 1;
9442+
9443+
// Country is USA
9444+
//
9445+
USA = 2;
9446+
9447+
// Country is Japan
9448+
//
9449+
JAPAN = 3;
9450+
}
94029451
}

0 commit comments

Comments
 (0)