Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: added mock train journey for track equipment segments (#82) #459

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
public class JourneyProfileRepository implements ApplicationRunner {

private static final String XML_RESOURCES_CLASSPATH = "classpath:static_sfera_resources/jp/*.xml";
private static final String XML_REGEX = "SFERA_JP_(\\d+)\\.xml";
private static final String XML_REGEX = "SFERA_JP_(.+)\\.xml";
private final XmlHelper xmlHelper;

Map<String, JourneyProfile> journeyProfiles = new HashMap<>();
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
<?xml version="1.0"?>
<JourneyProfile JP_Status="Valid" JP_Version="1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../SFERA_3.0_custom.xsd">
<TrainIdentification>
<OTN_ID>
<Company>1085</Company>
<OperationalTrainNumber>T1</OperationalTrainNumber>
<StartDate>2024-12-11</StartDate>
</OTN_ID>
</TrainIdentification>
<SegmentProfileList SP_ID="T1_1" SP_VersionMajor="1" SP_VersionMinor="1" SP_Direction="Nominal">
<SP_Zone>
<IM_ID>0085</IM_ID>
</SP_Zone>
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Genève-Aéroport"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Genève"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Passing_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Gland"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Passing_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Gilly-Bursinel"/>
</TimingPointReference>
</TimingPointConstraints>
</SegmentProfileList>
<SegmentProfileList SP_ID="T1_2" SP_VersionMajor="1" SP_VersionMinor="1" SP_Direction="Nominal">
<SP_Zone>
<IM_ID>0085</IM_ID>
</SP_Zone>
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Morges"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Yverdon-les-Bains"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Passing_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Onnens-Bonvillars"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Neuchâtel"/>
</TimingPointReference>
</TimingPointConstraints>
</SegmentProfileList>
<SegmentProfileList SP_ID="T1_3" SP_VersionMajor="1" SP_VersionMinor="1" SP_Direction="Nominal">
<SP_Zone>
<IM_ID>0085</IM_ID>
</SP_Zone>
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Biel/Bienne"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Passing_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Lengnau"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Passing_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Grenchen Süd"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Solothurn"/>
</TimingPointReference>
</TimingPointConstraints>
</SegmentProfileList>
<SegmentProfileList SP_ID="T1_4" SP_VersionMajor="1" SP_VersionMinor="1" SP_Direction="Nominal">
<SP_Zone>
<IM_ID>0085</IM_ID>
</SP_Zone>
<TimingPointConstraints TP_StopSkipPass="Passing_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="WANZ"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Passing_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Rothrist"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Olten"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="None">
<TimingPointReference>
<TP_ID_Reference TP_ID="Aarau"/>
</TimingPointReference>
</TimingPointConstraints>
</SegmentProfileList>
<SegmentProfileList SP_ID="T1_5" SP_VersionMajor="1" SP_VersionMinor="1" SP_Direction="Nominal">
<SP_Zone>
<IM_ID>0085</IM_ID>
</SP_Zone>
<TimingPointConstraints TP_StopSkipPass="Passing_Point" TP_Information="End_of_Journey">
<TimingPointReference>
<TP_ID_Reference TP_ID="Mellingen Heitersberg"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Passing_Point" TP_Information="End_of_Journey">
<TimingPointReference>
<TP_ID_Reference TP_ID="Killwangen-S."/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="End_of_Journey">
<TimingPointReference>
<TP_ID_Reference TP_ID="Zürich HB"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Passing_Point" TP_Information="End_of_Journey">
<TimingPointReference>
<TP_ID_Reference TP_ID="Opfikon Süd"/>
</TimingPointReference>
</TimingPointConstraints>
<TimingPointConstraints TP_StopSkipPass="Stopping_Point" TP_Information="End_of_Journey">
<TimingPointReference>
<TP_ID_Reference TP_ID="Flughafen"/>
</TimingPointReference>
</TimingPointConstraints>
</SegmentProfileList>
</JourneyProfile>
Original file line number Diff line number Diff line change
@@ -14,7 +14,6 @@
</TAF_TAP_LocationReference>
</TimingPoint>


<Signal>
<Signal_ID signal_ID_Physical="3" location="200"/>
<SignalFunction>entry</SignalFunction>
@@ -37,34 +36,34 @@

<SP_Areas>
<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="B"
TAF_TAP_location_type="station">
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>9992</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Haltestelle B"/>
</TAF_TAP_Location>

<NetworkSpecificArea startEndQualifier="StartsEnds" startLocation="100" endLocation="500" name="nonStandardTrackEquipment">
<NetworkSpecificArea startEndQualifier="StartsEnds" startLocation="200" endLocation="600" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-convSpeedReversingImpossible"/>
</NetworkSpecificArea>
<NetworkSpecificArea startEndQualifier="Starts" startLocation="700" name="nonStandardTrackEquipment">
<NetworkSpecificArea startEndQualifier="Starts" startLocation="600" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-extSpeedReversingPossible"/>
</NetworkSpecificArea>

</SP_Areas>

<SP_ContextInformation>
<ConnectionTrack location="900" connectionTrackType="Unknown" connectionTrackDescription="AnG. WITZ"/>
<KilometreReferencePoint location="100">
<KM_Reference kmRef="1.1"/>
</KilometreReferencePoint>
<KilometreReferencePoint location="200">
<KM_Reference kmRef="1.2"/>
</KilometreReferencePoint>
<KilometreReferencePoint location="500">
<KM_Reference kmRef="1.5"/>
</KilometreReferencePoint>
<KilometreReferencePoint location="600">
<KM_Reference kmRef="1.6"/>
</KilometreReferencePoint>
<KilometreReferencePoint location="700">
<KM_Reference kmRef="1.7"/>
</KilometreReferencePoint>
Original file line number Diff line number Diff line change
@@ -49,14 +49,6 @@
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Bahnhof E"/>
</TAF_TAP_Location>

<NetworkSpecificArea startEndQualifier="StartsEnds" startLocation="300" endLocation="600" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-extSpeedReversingImpossible"/>
</NetworkSpecificArea>

<NetworkSpecificArea startEndQualifier="Starts" startLocation="700" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-extSpeedReversingImpossible"/>
</NetworkSpecificArea>
</SP_Areas>

<SP_ContextInformation>
@@ -66,9 +58,6 @@
<KilometreReferencePoint location="600">
<KM_Reference kmRef="0.9"/>
</KilometreReferencePoint>
<KilometreReferencePoint location="700">
<KM_Reference kmRef="1.0"/>
</KilometreReferencePoint>
<KilometreReferencePoint location="800">
<KM_Reference kmRef="1.1"/>
</KilometreReferencePoint>
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
<?xml version="1.0"?>
<SegmentProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../SFERA_3.0_custom.xsd"
SP_ID="T1_1" SP_VersionMajor="1" SP_VersionMinor="1" SP_Length="90000" SP_Status="Valid">
<SP_Zone>
<IM_ID>0085</IM_ID>
</SP_Zone>
<SP_Points>
<TimingPoint TP_ID="Genève-Aéroport" location="500">
<TP_Name name="Genève-Aéroport"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3002</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Genève" location="1000">
<TP_Name name="Genève"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3003</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Gland" location="1500">
<TP_Name name="Gland"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3004</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Gilly-Bursinel" location="2000">
<TP_Name name="Gilly-Bursinel"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3005</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

</SP_Points>
<SP_Areas>
<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="GENA"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3002</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Genève-Aéroport"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="GEN"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3003</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Genève"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="GLA"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3004</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Gland"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="GIL"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3005</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Gilly-Bursinel"/>
</TAF_TAP_Location>

<NetworkSpecificArea startEndQualifier="Ends" endLocation="1500" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-extSpeedReversingPossible"/>
</NetworkSpecificArea>

<!-- theoretically not possible but to have two different track equipments but is used to test track equipment started outside of train journey with WholeSP at start. -->
<!-- ETCS-L1LS-2TracksWithSingleTrackEquipment will be ignored for visualization as it is not ETCS level 2 -->
<NetworkSpecificArea startEndQualifier="WholeSP" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L1LS-2TracksWithSingleTrackEquipment"/>
</NetworkSpecificArea>
</SP_Areas>

<SP_ContextInformation>

<KilometreReferencePoint location="500">
<KM_Reference kmRef="66.2"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="1000">
<KM_Reference kmRef="60.3"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="1500">
<KM_Reference kmRef="33.8"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="2000">
<KM_Reference kmRef="29.7"/>
</KilometreReferencePoint>
</SP_ContextInformation>
</SegmentProfile>
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<?xml version="1.0"?>
<SegmentProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../SFERA_3.0_custom.xsd"
SP_ID="T1_2" SP_VersionMajor="1" SP_VersionMinor="1" SP_Length="20000" SP_Status="Valid">
<SP_Zone>
<IM_ID>0085</IM_ID>
</SP_Zone>
<SP_Points>
<TimingPoint TP_ID="Morges" location="2500">
<TP_Name name="Morges"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3006</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Yverdon-les-Bains" location="3000">
<TP_Name name="Yverdon-les-Bains"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3007</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Onnens-Bonvillars" location="3500">
<TP_Name name="Onnens-Bonvillars"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3008</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Neuchâtel" location="4000">
<TP_Name name="Neuchâtel"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3009</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

</SP_Points>
<SP_Areas>
<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="MO"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3006</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Morges"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="YLB"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3007</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Yverdon-les-Bains"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="ONN"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3008</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Onnens-Bonvillars"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="NEU"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3009</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Neuchâtel"/>
</TAF_TAP_Location>


<NetworkSpecificArea startEndQualifier="Ends" endLocation="2300" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L1LS-2TracksWithSingleTrackEquipment"/>
</NetworkSpecificArea>

<NetworkSpecificArea startEndQualifier="StartsEnds" startLocation="2500" endLocation="3700" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-convSpeedReversingImpossible"/>
</NetworkSpecificArea>
<NetworkSpecificArea startEndQualifier="Starts" startLocation="3700" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-extSpeedReversingPossible"/>
</NetworkSpecificArea>
</SP_Areas>

<SP_ContextInformation>

<KilometreReferencePoint location="2300">
<KM_Reference kmRef="10.1"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="2500">
<KM_Reference kmRef="12.5"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="3000">
<KM_Reference kmRef="39.1"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="3500">
<KM_Reference kmRef="47.5"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="3700">
<KM_Reference kmRef="56.8"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="4000">
<KM_Reference kmRef="75.3"/>
</KilometreReferencePoint>

</SP_ContextInformation>
</SegmentProfile>
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<?xml version="1.0"?>
<SegmentProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../SFERA_3.0_custom.xsd"
SP_ID="T1_3" SP_VersionMajor="1" SP_VersionMinor="1" SP_Length="20000" SP_Status="Valid">
<SP_Zone>
<IM_ID>0085</IM_ID>
</SP_Zone>
<SP_Points>
<TimingPoint TP_ID="Biel/Bienne" location="4500">
<TP_Name name="Biel/Bienne"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3010</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Lengnau" location="5000">
<TP_Name name="Lengnau"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3011</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Grenchen Süd" location="5500">
<TP_Name name="Grenchen Süd"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3012</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Solothurn" location="6000">
<TP_Name name="Solothurn"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3013</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>
</SP_Points>
<SP_Areas>
<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="BI"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3010</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Biel/Bienne"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="LEN"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3011</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Lengnau"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="GRN"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3012</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Grenchen Süd"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="SOLO"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3013</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Solothurn"/>
</TAF_TAP_Location>

<NetworkSpecificArea startEndQualifier="WholeSP" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-extSpeedReversingPossible"/>
</NetworkSpecificArea>
</SP_Areas>

<SP_ContextInformation>
<KilometreReferencePoint location="4500">
<KM_Reference kmRef="99.3"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="5000">
<KM_Reference kmRef="88.0"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="5500">
<KM_Reference kmRef="85.3"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="6000">
<KM_Reference kmRef="73.8"/>
</KilometreReferencePoint>

</SP_ContextInformation>
</SegmentProfile>
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<?xml version="1.0"?>
<SegmentProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../SFERA_3.0_custom.xsd"
SP_ID="T1_4" SP_VersionMajor="1" SP_VersionMinor="1" SP_Length="20000" SP_Status="Valid">
<SP_Zone>
<IM_ID>0085</IM_ID>
</SP_Zone>
<SP_Points>
<TimingPoint TP_ID="WANZ" location="6500">
<TP_Name name="WANZ"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3014</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Rothrist" location="7000">
<TP_Name name="Rothrist"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3015</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Olten" location="7500">
<TP_Name name="Olten"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3016</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Aarau" location="8000">
<TP_Name name="Aarau"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3017</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>
</SP_Points>
<SP_Areas>
<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="WANZ"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3014</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="WANZ"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="ROTH"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3015</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Rothrist"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="OL"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3016</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Olten"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="AAR"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3017</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Aarau"/>
</TAF_TAP_Location>


<NetworkSpecificArea startEndQualifier="Ends" endLocation="7000" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-extSpeedReversingPossible"/>
</NetworkSpecificArea>

<NetworkSpecificArea startEndQualifier="StartsEnds" startLocation="7000" endLocation="7800" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-convSpeedReversingImpossible"/>
</NetworkSpecificArea>
</SP_Areas>

<SP_ContextInformation>

<KilometreReferencePoint location="6500">
<KM_Reference kmRef="36.4"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="7000">
<KM_Reference kmRef="46.2"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="7500">
<KM_Reference kmRef="39.3"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="7800">
<KM_Reference kmRef="39.9"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="8000">
<KM_Reference kmRef="41.5"/>
</KilometreReferencePoint>

</SP_ContextInformation>
</SegmentProfile>
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<?xml version="1.0"?>
<SegmentProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../SFERA_3.0_custom.xsd"
SP_ID="T1_5" SP_VersionMajor="1" SP_VersionMinor="1" SP_Length="20000" SP_Status="Valid">
<SP_Zone>
<IM_ID>0085</IM_ID>
</SP_Zone>
<SP_Points>
<TimingPoint TP_ID="Mellingen Heitersberg" location="8500">
<TP_Name name="Mellingen Heitersberg"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3018</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Killwangen-S." location="9000">
<TP_Name name="Killwangen-S."/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3019</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Zürich HB" location="9500">
<TP_Name name="Zürich HB"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3020</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Opfikon Süd" location="10000">
<TP_Name name="Opfikon Süd"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3021</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>

<TimingPoint TP_ID="Flughafen" location="10500">
<TP_Name name="Flughafen"/>
<TAF_TAP_LocationReference>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3022</LocationPrimaryCode>
</TAF_TAP_LocationReference>
</TimingPoint>
</SP_Points>
<SP_Areas>
<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="MLH"
TAF_TAP_location_type="stopping location">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3018</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Mellingen Heitersberg"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="KIL"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3019</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Killwangen-S."/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="ZRH"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3020</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Zürich HB"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="OPF"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3021</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Opfikon Süd"/>
</TAF_TAP_Location>

<TAF_TAP_Location startEndQualifier="StartsEnds" TAF_TAP_location_abbreviation="ZHF"
TAF_TAP_location_type="station">
<TAF_TAP_LocationIdent>
<CountryCodeISO>CH</CountryCodeISO>
<LocationPrimaryCode>3022</LocationPrimaryCode>
</TAF_TAP_LocationIdent>
<TAF_TAP_LocationName language="de" messageString="Flughafen"/>
</TAF_TAP_Location>

<NetworkSpecificArea startEndQualifier="StartsEnds" startLocation="9200" endLocation="10200" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-extSpeedReversingImpossible"/>
</NetworkSpecificArea>

<NetworkSpecificArea startEndQualifier="Starts" startLocation="10200" name="nonStandardTrackEquipment">
<NetworkSpecificParameter name="trackEquipmentType" value="ETCS-L2-extSpeedReversingPossible"/>
</NetworkSpecificArea>
</SP_Areas>

<SP_ContextInformation>

<KilometreReferencePoint location="8500">
<KM_Reference kmRef="22.2"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="9000">
<KM_Reference kmRef="16.1"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="9200">
<KM_Reference kmRef="8.3"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="9500">
<KM_Reference kmRef="0.0"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="9500">
<KM_Reference kmRef="200.7"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="10000">
<KM_Reference kmRef="6.5"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="10200">
<KM_Reference kmRef="7.4"/>
</KilometreReferencePoint>

<KilometreReferencePoint location="10500">
<KM_Reference kmRef="9.5"/>
</KilometreReferencePoint>
</SP_ContextInformation>
</SegmentProfile>