-
Notifications
You must be signed in to change notification settings - Fork 30
Depot Data
Zsombor Welker edited this page Jun 2, 2013
·
1 revision
Depot data maps a bus to its assigned depot; the maintenance facility where it pulls out from at the start of its block.
It is TCIP-XML:
<!-- Annotated Vehicle Depot Assignment XML for MTA Bus CIS-->
<!-- Uses TCIP standard-->
<!-- Contact dlaidig@mtahq.org or see www.aptatcip.com for more information-->
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:cptFleetSubsets
noNameSpaceSchemaLocation="0" sourceport="0" sourceip="0.0.0.0" sourceapp="UTS" schVersion="0"
created="2011-06-01T04:59:00-04:00"
xmlns:ns2="http://www.TCIP-Final-3-0-5-1"
xmlns:ns4="http://www.lrms-final-09-07-for-atis"
xmlns:ns3="http://www.lrms-final-09-07"
xmlns:ns5="http://www.atis-partial-03-00-74">
<!-- TCIP-required header -->
<subscriptionInfo>
<!--requestedType 1 == requested, 2 == periodic -->
<requestedType>2</requestedtype>
<!-- These can be set to dates one day or more in the future-->
<expirationDate>2011-09-01</expirationdate>
<expirationTime>00:00:00</expirationtime>
<!-- TCIP-required unique IDs, can be set to zero-->
<requestIdentifier>0</requestidentifier>
<subscriberIdentifier>0</subscriberidentifier>
<publisherIdentifier>0</publisheridentifier>
</subscriptioninfo>
<!-- A Defined Group == Depot. -->
<defined-groups>
<defined-group>
<!-- TCIP-required unique IDs, can be set to zero-->
<group-id>0</group-id>
<!-- The group name is the standardized 2-character depot code, after depot ID normalization/mapping. -->
<group-name>YUKN</group-name>
<group-garage>
<!-- TCIP-required unique IDs, can be set to zero-->
<facility-id>0</facility-id>
<!-- The group name is the standardized 2-character depot code, after depot ID normalization/mapping.
Duplicated because TCIP requires a group name, although garage facility name is more
semantically relevant.-->
<facility-name>KB</facility-name>
</group-garage>
<group-members>
<group-member>
<!-- Veh ID == BUS_NUMBER -->
<vehicle-id>6004</vehicle-id>
<!-- Agency ID from AGENCY field: 1 = NYCT -> 2008, 2 = MTABC -> 2188 -->
<agency-id>2008</agency-id>
<!-- Vehicle Model, if Available, as a concatenation of BUS_YEAR and UNIT_DESC, separated by a
space -->
<name>1999 ORN V</name>
</group-member>
<!-- ... more group-member elements -->
</group-members>
</defined-group>
<!-- ... more defined-group elements elements -->
</defined-groups>
</ns2:cptfleetsubsets>