From be64880656066fd20e885512aee8ddd32e3c21b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20G=C3=BCnter?= Date: Fri, 10 May 2024 21:24:06 +0200 Subject: [PATCH] RouteInstructionRef reintroduced (#588) * fix 466 with including also the stuff that Christophe wrote. * Lint and update documentation tables * Update xsd/netex_part_1/part1_networkDescription/netex_routeInstruction_version.xsd Co-authored-by: Stefan de Konink * example, fixed choice, added constraints * Lint and update documentation tables * fix carrdinalties and a typo * sequences in choice * Lint and update documentation tables * Apply suggestions from code review * typos and simplification * Lint and update documentation tables --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Stefan de Konink --- .../simpleNetwork/Netex_SimpleNetwork_1.xml | 14 +++++++++++ xsd/NeTEx_publication.xsd | 21 +++++++++++++++++ .../netex_routeInstruction_version.xsd | 23 +++++++++++-------- .../netex_route_version.xsd | 2 +- 4 files changed, 50 insertions(+), 10 deletions(-) diff --git a/examples/functions/simpleNetwork/Netex_SimpleNetwork_1.xml b/examples/functions/simpleNetwork/Netex_SimpleNetwork_1.xml index 220f11d41..a200169c8 100644 --- a/examples/functions/simpleNetwork/Netex_SimpleNetwork_1.xml +++ b/examples/functions/simpleNetwork/Netex_SimpleNetwork_1.xml @@ -606,10 +606,24 @@ v1.1 revised ids + + + 3rd road to the left + 100 + + + back + down + false + + + + + diff --git a/xsd/NeTEx_publication.xsd b/xsd/NeTEx_publication.xsd index 3e081a836..623f67344 100644 --- a/xsd/NeTEx_publication.xsd +++ b/xsd/NeTEx_publication.xsd @@ -12318,6 +12318,27 @@ + + + + + Every [RouteInstruction Id + Version] must be unique within document. + + + + + + + + + + + + + + + + diff --git a/xsd/netex_part_1/part1_networkDescription/netex_routeInstruction_version.xsd b/xsd/netex_part_1/part1_networkDescription/netex_routeInstruction_version.xsd index 7d3ce33ab..7428885cd 100644 --- a/xsd/netex_part_1/part1_networkDescription/netex_routeInstruction_version.xsd +++ b/xsd/netex_part_1/part1_networkDescription/netex_routeInstruction_version.xsd @@ -74,13 +74,18 @@ Rail transport, Roads and Road transport - + + + + A reference to an instruction on how to follow a ROUTE through the network. + + - An Instruction on how to follow a ROUTE through the network. + An instruction on how to follow a ROUTE through the network. - + @@ -132,27 +137,27 @@ Rail transport, Roads and Road transport - Directions for following path step. + Directions for following path step. - Relative heading for Instruction + Relative heading for Instruction. - Heading for Instructioni nternational boundary between two countries may be crossed. + Heading for instruction. - Compass Bearing for Instruction + Compass Bearing for Instruction. - Distance for step. + Distance for step. @@ -162,7 +167,7 @@ Rail transport, Roads and Road transport - Directions for following path staep. + Directions for following path step. diff --git a/xsd/netex_part_1/part1_networkDescription/netex_route_version.xsd b/xsd/netex_part_1/part1_networkDescription/netex_route_version.xsd index f0b599701..321e24d00 100644 --- a/xsd/netex_part_1/part1_networkDescription/netex_route_version.xsd +++ b/xsd/netex_part_1/part1_networkDescription/netex_route_version.xsd @@ -356,7 +356,7 @@ Rail transport, Roads and Road transport - Instructins for following route. +v1.1 + Instructions for following a route. +v1.1