Example
TAP-TSDUPD-example2.3-Piedmont.xml
standards/tap_tsi/TAP-TSDUPD-example2.3-Piedmont.xml
Element names link to their declarations.
<?xml version="1.0" encoding="UTF-8"?>
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:siri="http://www.siri.org.uk/siri" version="1.0" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../xsd/NeTEx_publication.xsd">
<!--
x Profile: TSDUPD Location Data Example
=============
This Example shows an example of encoding a TAPTSI Location TSDUPD file
The following is the EDIFACT tag stream used as input.
ALS+29+008300003:PIEDIMULERA+460128N+081540E'
POP+273:2021-10-07/2999-12-31'
POP+87:0005'
CNY+IT'
TIZ+CET:1'
IFT+X02+PIEDIMULERA'
RFR+X01:008300014'
RFR+AWN:008300004'
MES+40:MIN'
RLS+13+6'
PRD+:::101:71+1187*1180'
UIC_Code1 UIC_Code2 Duration Duration_Unit 13 6_footPath_or_14_Hierarchy Attributes_with_semicolon Service_Brand1 Service_Brand2 Service_Provider1 Service_Provider2
29 008300003 PIEDIMULERA PIEDIMULERA 460128N 081540E 2021-10-07 2999-12-31 0005 IT CET 1 008300014
(C) DAT4PT 2022
-->
<PublicationTimestamp>2022-01-17T09:30:46.0Z</PublicationTimestamp>
<ParticipantRef>SYS001</ParticipantRef>
<!-- ======WHAT WAS REQUESTED ========== -->
<PublicationRequest version="1.0">
<RequestTimestamp>2022-12-17T09:30:47.0Z</RequestTimestamp>
<ParticipantRef>SYS002</ParticipantRef>
</PublicationRequest>
<Description>UIC Location data example</Description>
<!--- =============== RESULTS =========== -->
<dataObjects>
<ResourceFrame version="1" id="TSDUPD-example_UIC- Operators)">
<Name>Operators referenced in this data set. NOte this could be dropped an external references used</Name>
<codespaces>
<Codespace id="uic_cs">
<Xmlns>uic</Xmlns>
<XmlnsUrl>http://www.uic.org/</XmlnsUrl>
<Description>UIC data</Description>
</Codespace>
</codespaces>
<!--- =======FRAME DEFAULTS======== -->
<FrameDefaults>
<DefaultCodespaceRef ref="uic_cs"/>
</FrameDefaults>
<dataSources>
<DataSource id="uic:1183" version="any"/>
</dataSources>
<organisations>
<Operator version="any" id="uic:0064">
</Operator>
<Operator version="any" id="uic:0083">
</Operator>
<Operator version="any" id="uic:0086">
</Operator>
<Operator version="any" id="uic:1180">
</Operator>
<Operator version="any" id="uic:1187">
</Operator>
</organisations>
</ResourceFrame>
<CompositeFrame version="1" id="TSDUPD-example_PIEDIMULERA">
<Description>Draft example to map a TSDUPD location PIEDIMULERA into NeTEx.</Description>
<!--Function_Code UIC_Code Location_Name Location_Short_Name Latitude Longitude Valid_From Valid_To Default_Transfert_Time Country Timezone1 Timezone2 Reservation_Code
29 008300003 PIEDIMULERA PIEDIMULERA 460128N 081540E 2021-10-07 2999-12-31 0005 IT CET 1 008300014 -->
<!--- ======= CODESPACEs======== -->
<codespaces>
<Codespace id="op4_cs">
<Xmlns>op4_cs</Xmlns>
<XmlnsUrl>http://www.operator.it/</XmlnsUrl>
<Description>Operator data</Description>
</Codespace>
<CodespaceRef ref="uic_cs"/>
</codespaces>
<!--- =======FRAME DEFAULTS======== -->
<FrameDefaults>
<DefaultCodespaceRef ref="op4_cs"/>
</FrameDefaults>
<frames>
<SiteFrame version="1" id="TSDUPD-example_PIEDIMULERA">
<stopPlaces>
<StopPlace version="any" id="uic:008300003">
<!-- ALS+29+008300003:PIEDIMULERA+460128N+081540E' -->
<ValidBetween>
<!-- POP+273:2021-10-07/2999-12-31' -->
<FromDate>2021-10-07T00:00:00</FromDate>
<ToDate>2999-12-31T23:59:59</ToDate>
</ValidBetween>
<Name>PIEDIMULERA</Name>
<!-- IFT+X02+PIEDIMULERA' -->
<ShortName>PIEDIMULERA </ShortName>
<Centroid>
<Location>
<Longitude>+46.0128</Longitude>
<Latitude>+08.1540</Latitude>
</Location>
</Centroid>
<PostalAddress version="any" id="uic:008600683">
<!-- CNY+IT' -->
<CountryRef ref="it"/>
</PostalAddress>
<Locale>
<!-- TIZ+CET:1' -->
<TimeZoneOffset>-1</TimeZoneOffset>
<TimeZone>CET</TimeZone>
</Locale>
<OperatorRef version="any" ref="uic:0083"/>
<TransportMode>rail</TransportMode>
<tariffZones>
<TariffZoneRef versionRef="EXTERNAL" ref="008300014"/>
</tariffZones>
<StopPlaceType>railStation</StopPlaceType>
</StopPlace>
</stopPlaces>
</SiteFrame>
<ServiceFrame version="any" id="TSDUPD-example_PIEDIMULERA">
<scheduledStopPoints>
<ScheduledStopPoint version="any" id="uic:008300003">
<!-- ALS+29+008300003:PIEDIMULERA+460128N+081540E' -->
<ValidBetween>
<!-- POP+273:2021-10-07/2999-12-31' -->
<FromDate>2021-08-06T00:00:00</FromDate>
<ToDate>2999-12-31T23:59:59</ToDate>
</ValidBetween>
<Name lang="it">PIEDIMULERA</Name>
<Location>
<Longitude>+46.0128</Longitude>
<Latitude>+08.1540</Latitude>
</Location>
<tariffZones>
<!-- RFR+X01:008300014' -->
<TariffZoneRef version="any" ref="uic:008300014"/>
</tariffZones>
<ShortName>PIEDIMULERA</ShortName>
<StopType>railStation</StopType>
<CountryRef ref="it"/>
</ScheduledStopPoint>
<ScheduledStopPoint version="any" id="uic:008300004">
<ValidBetween>
<FromDate>2016-04-29T00:00:00</FromDate>
<ToDate>2999-12-31T23:59:59</ToDate>
</ValidBetween>
<Name lang="it">PIEVE VERGONTE</Name>
<tariffZones>
<TariffZoneRef version="any" ref="uic:008300014"/>
</tariffZones>
<ShortName>PIEVE VERGONTE</ShortName>
<StopType>railStation</StopType>
<!-- CNY+IT' -->
<CountryRef ref="it"/>
</ScheduledStopPoint>
</scheduledStopPoints>
<connections>
<!--
UIC_Code1 UIC_Code2 Duration Duration_Unit 13 6_footPath_or_14_Hierarchy Attributes_with_semicolon Service_Brand1 Service_Brand2 Service_Provider1 Service_Provider2
008300003 008300004 40 MIN 13 6 101 71 1187 1180 -->
<SiteConnection version="any" id="uic:008300003+uic:008300003">
<Name>Default Transfer time</Name>
<TransferDuration>
<DefaultDuration>PT15M</DefaultDuration>
<!-- POP+POP+87:0005'-->
<!-- 87 = Necessary connection Time -->
</TransferDuration>
<BothWays>true</BothWays>
<From>
<ScheduledStopPointRef version="any" ref="uic:008300003"/>
</From>
<To>
<ScheduledStopPointRef version="any" ref="uic:008300003"/>
</To>
</SiteConnection>
<Connection version="any" id="008300003+008300004" dataSourceRef="uic:1183">
<!-- RFR+AWN:008300004'
MES+40:MIN'
RLS+13+6'
PRD+:::101:71+1187*1180' -->
<ValidBetween>
<FromDate>2016-04-29T00:00:00</FromDate>
<ToDate>2999-12-31T23:59:59</ToDate>
</ValidBetween>
<Name>Default internal transfers Piedimulera</Name>
<TransferDuration>
<DefaultDuration>PT40M</DefaultDuration>
</TransferDuration>
<BothWays>true</BothWays>
<From>
<TransportMode>rail</TransportMode>
<ScheduledStopPointRef version="any" ref="uic:008300003">Piedimulera</ScheduledStopPointRef>
</From>
<To>
<TransportMode>rail</TransportMode>
<ScheduledStopPointRef version="any" ref="uic:008300004">Pieve Vergonte</ScheduledStopPointRef>
</To>
</Connection>
</connections>
<tariffZones>
<TariffZone version="any" id="uic:008300014">
<!-- RFR+X01:008300014' -->
<Name>PIEDIMULERA</Name>
</TariffZone>
</tariffZones>
</ServiceFrame>
<TimetableFrame version="1" id="TSDUPD-example_PIEDIMULERA">
<interchangeRules>
<InterchangeRule version="any" id="008300003+008300004">
<!-- RFR+AWN:008300004' -->
<ConnectionRef version="any" ref="008300003+008300004"/>
<Planned>true</Planned>
<MinimumTransferTime>PT34M</MinimumTransferTime>
<!-- MES+40:MIN'
PRD+:::101:71+1187*1180' -->
<MaximumTransferTime>PT40M</MaximumTransferTime>
<!-- PRD+:::101:71+1187*1180' -->
<FeederFilter>
<OperatorRef version="any" ref="uic:1187"/>
<!-- TO ADD
<TypeOfServiceRef versionRef="EXTERNAL" ref="101">101 Night Train</TypeOfServiceRef> -->
<LineInDirectionRef>
<LineRef versionRef="EXTERNAL" ref="101"/>
<!--Hack Workaround -->
</LineInDirectionRef>
</FeederFilter>
<DistributorFilter>
<OperatorRef version="any" ref="uic:1180"/>
<!-- <TypeOfServiceRef versionRef="EXTERNAL" ref="71">71 High Speed Train</TypeOfServiceRef> -->
<LineInDirectionRef>
<LineRef versionRef="EXTERNAL" ref="71"/>
<!--Hack Workaround -->
</LineInDirectionRef>
</DistributorFilter>
</InterchangeRule>
</interchangeRules>
</TimetableFrame>
</frames>
</CompositeFrame>
</dataObjects>
</PublicationDelivery>