Skip to content

Commit 2a58d31

Browse files
committed
Minor fixes to pathLinks and pathviews
1 parent 33847b1 commit 2a58d31

File tree

4 files changed

+38
-10
lines changed

4 files changed

+38
-10
lines changed

examples/functions/deckPlans/DeckPlans-Example_train.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2541,16 +2541,40 @@ The train reverse in the station and departs, oriented backwards to the right
25412541
<DeckPathLinkRef version="any" ref="rc:DPL-slw_deck_1@PE-rear_external_right+DPJ-rear_middle"/>
25422542
<Heading>left</Heading>
25432543
<Instruction>Turn right into corridor</Instruction>
2544+
<views>
2545+
<PathLinkView > <!-- control appearence of link in UI -->
2546+
<HideDestination>true</HideDestination>
2547+
<ShowEntranceSeparately>true</ShowEntranceSeparately>
2548+
<ShowExitSeparately>true</ShowExitSeparately>
2549+
<ShowHeadingSeparately>true</ShowHeadingSeparately>
2550+
</PathLinkView>
2551+
</views>
25442552
</PathLinkInSequence>
25452553
<PathLinkInSequence version="any" id="rc:PLIS-slw_deck_1@PE-rear_external_right+PE-compartment_3-2">
25462554
<DeckPathLinkRef version="any" ref="rc:DPL-slw_deck_1@DPJ-rear_middle+PE-compartment_3"/>
25472555
<Heading>forward</Heading>
25482556
<Instruction>Go down corridor third compartment from end on leftt</Instruction>
2557+
<views>
2558+
<PathLinkView > <!-- control appearence of link in UI -->
2559+
<HideDestination>true</HideDestination>
2560+
<ShowEntranceSeparately>true</ShowEntranceSeparately>
2561+
<ShowExitSeparately>true</ShowExitSeparately>
2562+
<ShowHeadingSeparately>true</ShowHeadingSeparately>
2563+
</PathLinkView>
2564+
</views>
25492565
</PathLinkInSequence>
25502566
<PathLinkInSequence version="any" id="rc:PLIS-slw_deck_1@PE-rear_external_right+PE-compartment_3-3">
25512567
<DeckPathLinkRef version="any" ref="rc:DPL-slw_deck_1@PE-compartment_3+PSp-compartment_3@row_05_col_A"/>
25522568
<Heading>left</Heading>
25532569
<Instruction>Seat 9is on far side by window on left</Instruction>
2570+
<views>
2571+
<PathLinkView > <!-- control appearence of link in UI -->
2572+
<HideDestination>false</HideDestination>
2573+
<ShowEntranceSeparately>false</ShowEntranceSeparately>
2574+
<ShowExitSeparately>true</ShowExitSeparately>
2575+
<ShowHeadingSeparately>false</ShowHeadingSeparately>
2576+
</PathLinkView>
2577+
</views>
25542578
</PathLinkInSequence>
25552579
</pathLinksInSequence>
25562580
</DeckNavigationPath>

xsd/netex_framework/netex_genericFramework/netex_path_version.xsd

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
<Contributor>Roger Slevin [Roger.Slevin@dft.gsi.gov.uk]</Contributor>
1616
<Coverage>Europe</Coverage>
1717
<Creator>Created as W3C .xsd schema by Nicholas Knowles. as 1.0 XML schema </Creator>
18-
<Date><Created>2024-02-05</Created>Factored out from ifopt_path_link
18+
<Date>
19+
<Created>2024-02-05</Created>Factored out from ifopt_path_link
1920
</Date>
20-
<Date><Modified>2024-02-18</Modified>Rename NAVIGATION PATH to NAVIGATION
21+
<Date>
22+
<Modified>2024-02-18</Modified>Rename NAVIGATION PATH to NAVIGATION
2123
</Date>
2224
<Description>
2325
<Title>NeTEx Network Exchange - Generic PATH types.</Title>
@@ -222,9 +224,9 @@ Rail transport, Roads and Road transport
222224
<xsd:restriction base="GenericPathLink_DerivedViewStructure">
223225
<xsd:sequence>
224226
<xsd:sequence>
225-
<xsd:sequence>
226-
<xsd:group ref="DerivedViewGroup"/>
227-
</xsd:sequence>
227+
<xsd:group ref="DerivedViewGroup"/>
228+
</xsd:sequence>
229+
<xsd:sequence>
228230
<xsd:element name="HideLink" type="xsd:boolean" minOccurs="0">
229231
<xsd:annotation>
230232
<xsd:documentation>Whether link should be hidden in the PATH LINK VIEW.</xsd:documentation>
@@ -247,7 +249,7 @@ Rail transport, Roads and Road transport
247249
</xsd:element>
248250
<xsd:element name="ShowHeadingSeparately" type="xsd:boolean" minOccurs="0">
249251
<xsd:annotation>
250-
<xsd:documentation>Whether heading element should be shown as separate step in view e.g. turn left right.</xsd:documentation>
252+
<xsd:documentation>Whether Heading element should be shown as separate step in view e.g. turn left right.</xsd:documentation>
251253
</xsd:annotation>
252254
</xsd:element>
253255
</xsd:sequence>
@@ -565,7 +567,7 @@ The same PATH LINK may occur in different sequences in different NAVIGATION PATH
565567
</xsd:sequence>
566568
</xsd:group>
567569
<!-- =======NAVIGATION=============================================== -->
568-
<xsd:element name="GenericNavigation" abstract="true" substitutionGroup="LinkSequence">
570+
<xsd:element name="GenericNavigationPath" abstract="true" substitutionGroup="LinkSequence">
569571
<xsd:annotation>
570572
<xsd:documentation>A designated path between two places. May include an ordered sequence of PATH LINKs. +v2.0</xsd:documentation>
571573
</xsd:annotation>

xsd/netex_framework/netex_reusableComponents/netex_deckPath_version.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ Rail transport, Roads and Road transport
407407
</xsd:extension>
408408
</xsd:complexContent>
409409
</xsd:complexType>
410-
<xsd:element name="DeckNavigationPath">
410+
<xsd:element name="DeckNavigationPath" substitutionGroup="LinkSequence">
411411
<xsd:annotation>
412412
<xsd:documentation>A designated path between two places within a DECK PLAN. May include an ordered sequence of DECK PATH LINKs. +v2.0</xsd:documentation>
413413
</xsd:annotation>

xsd/netex_part_1/part1_ifopt/netex_ifopt_navigationPath_version.xsd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@
2626
<Date>
2727
<Modified>2007-03-22</Modified>
2828
</Date>
29-
<Date><Modified>2017-11-08</Modified> Move Description from Path in Sequence to supertype link in Sequence
29+
<Date>
30+
<Modified>2017-11-08</Modified> Move Description from Path in Sequence to supertype link in Sequence
3031
</Date>
31-
<Date><Modified>2024-02-06</Modified> Refactor to share common path elements with new DECK PATH LINKs etc
32+
<Date>
33+
<Modified>2024-02-06</Modified> Refactor to share common path elements with new DECK PATH LINKs etc
3234
</Date>
3335
<Description>
3436
<Title>NeTEx Network Exchange - NAVIGATION PATH types.</Title>

0 commit comments

Comments
 (0)