Skip to content
Zsombor Welker edited this page Jun 2, 2013 · 4 revisions

Destination Sign Code (DSC) or Headsign Data is TCIP-XML; it describes the headsign a bus displays, mapping it to a route and to a destination sign code. Recall that the route description from the GTFS may not be the same as the headsign text, which makes this data necessary to complete the picture.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:ccAnnouncementInfo 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 -->
  <fileHeader>
    <vehicle>
      <vehicle-id>0</vehicle-id>
    </vehicle>
    <component-IP>0.0.0.0</component-IP>
    <!-- File Identifier: 9 == canned text messages file -->
    <file-identifier>9</file-identifier>
    <updated-datetime>2011-06-01T04:59:00-04:00</updated-datetime>
    <file-size>0</file-size>
  </fileHeader>
  <destinations>
    <destination>
      <!-- dsc code-->
      <messageID>
        <msgID>4630</msgID>
        <agencyID>2008</agencyID>
        <agencydesignator>MTA NYCT</agencydesignator>
      </messageID>
      <!-- required metadata -->
      <metadata>
        <updated>2011-07-05T16:56:06-04:00</updated>
      </metadata>
      <!-- Headsign text. -->
      <messageText>PIER 6 BROOKLYN BRIDGE PARK VIA 5 AV</messageText>
      <routeID>
        <!-- Numeric ID-->
        <route-id>0</route-id>
        <route-name>B63</route-name>
      </routeID>
    </destination>
    <destination>
      <messageID>
        <msgID>4631</msgID>
        <agencyID>2008</agencyID>
        <agencydesignator>MTA NYCT</agencydesignator>
      </messageID>
      <metadata>
        <updated>2011-07-05T16:56:06-04:00</updated>
      </metadata>
      <messageText>BAY RIDGE SHORE RD VIA 5 AV</messageText>
      <routeID>
        <route-id>0</route-id>
        <route-name>B63</route-name>
      </routeID>
    </destination>
    <destination>
      <messageID>
        <msgID>12</msgID>
        <agencyID>2008</agencyID>
        <agencydesignator>MTA NYCT</agencydesignator>
      </messageID>
      <metadata>
        <updated>2011-07-05T16:56:06-04:00</updated>
      </metadata>
      <messageText>NOT IN SERVICE</messageText>
    </destination>
    <destination>
      <messageID>
        <msgID>12</msgID>
        <agencyID>2008</agencyID>
        <agencydesignator>MTABC</agencydesignator>
      </messageID>
      <metadata>
        <updated>2013-03-25T15:07:46.188-04:00</updated>
      </metadata>
      <messageText>NOT IN SERVICE</messageText>
    </destination>
  </destinations>
  <defaults>
    <distance-before>
      <m>0</m>
    </distance-before>
    <time-before>0</time-before>
  </defaults>
</ns2:ccAnnouncementInfo>
Clone this wiki locally