Skip to content

Commit b946c6b

Browse files
committed
better comments to clarify use of code and sub_code
1 parent 046ff1c commit b946c6b

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

osi_trafficsign.proto

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -300,21 +300,25 @@ message TrafficSign
300300
optional bool is_out_of_service = 7;
301301

302302
// Specifies the country. See ISO 3166-1, alpha-2 codes
303-
// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
304-
// e.g. "DE", "FR", "AT
305-
//"
303+
// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2. <br>
304+
// e.g. "DE", "FR", "AT"
305+
//
306306
optional string country = 8;
307307

308-
// The year the traffic rules come into force
308+
// The year the traffic rules come into force. <br>
309309
// e.g. "2017"
310310
//
311311
optional string country_revision = 9;
312312

313-
// Code identifier according to country code
313+
// Code identifier according to country code. <br>
314+
// code is only unique in combination with #country and #country_revision. <br>
315+
// e.g. http://www.vzkat.de/2017/VzKat.htm
314316
//
315317
optional string code = 10;
316318

317-
// Subcode identifier according to country code
319+
// Subcode identifier according to country code. <br>
320+
// sub_code is only unique in combination with #country and #country_revision. <br>
321+
// e.g. http://www.vzkat.de/2017/VzKat.htm
318322
//
319323
optional string sub_code = 11;
320324

@@ -5586,17 +5590,25 @@ message TrafficSign
55865590
optional bool is_out_of_service = 7;
55875591

55885592
// Specifies the country. See ISO 3166-1, alpha-2 codes
5589-
// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
5593+
// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2. <br>
5594+
// e.g. "DE", "FR", "AT"
5595+
//
55905596
optional string country = 8;
55915597

5592-
// The year the traffic rules come into force
5598+
// The year the traffic rules come into force. <br>
5599+
// e.g. "2017"
5600+
//
55935601
optional string country_revision = 9;
55945602

5595-
// Code identifier according to country code
5603+
// Code identifier according to country code. <br>
5604+
// code is only unique in combination with #country and #country_revision. <br>
5605+
// e.g. http://www.vzkat.de/2017/VzKat.htm
55965606
//
55975607
optional string code = 10;
55985608

5599-
// Subcode identifier according to country code
5609+
// Subcode identifier according to country code. <br>
5610+
// sub_code is only unique in combination with #country and #country_revision. <br>
5611+
// e.g. http://www.vzkat.de/2017/VzKat.htm
56005612
//
56015613
optional string sub_code = 11;
56025614

0 commit comments

Comments
 (0)