﻿# Data dictionary

[Official PDF](<http://static.data.gov.hk/td/special-traffic-news/en/Data_Specification_for_STN_Eng_v4.0.pdf>) · Transport Department

Extracted text; check the official PDF for layout and figures.

## Key sections

- [運輸署](/documents/td/data-dictionary-data-specification-for-stn-eng-v4-0/#source-運輸署)
- [2. &lt;u&gt;Sample XML&lt;/u&gt;](/documents/td/data-dictionary-data-specification-for-stn-eng-v4-0/#source-2-u-sample-xml-u)
- [2.1 First example:](/documents/td/data-dictionary-data-specification-for-stn-eng-v4-0/#source-2-1-first-example)
- [(1) XML file:](/documents/td/data-dictionary-data-specification-for-stn-eng-v4-0/#source-1-xml-file)
- [(2) Text message of the traffic news:](/documents/td/data-dictionary-data-specification-for-stn-eng-v4-0/#source-2-text-message-of-the-traffic-news)
- [2.2 Second example:](/documents/td/data-dictionary-data-specification-for-stn-eng-v4-0/#source-2-2-second-example)
- [(1) XML file:](/documents/td/data-dictionary-data-specification-for-stn-eng-v4-0/#source-1-xml-file-2)

# 運輸署
*Transport Department*

<u>Special Traffic News</u>

<u>Data Dictionary</u>

Version 4.0

November 2019

-----

| Name | Description | Mandatory | Remarks |
| --- | --- | --- | --- |
| INCIDENT\_NUMBER | System generated unique identifier of the incident | Y | Data Type: Text |
| INCIDENT\_HEADING\_EN | Heading of Incident in English. | Y | Data Type: Text |
| INCIDENT\_HEADING\_CN | Heading of Incident in Chinese | Y | Data Type: Text |
| INCIDENT\_DETAIL\_EN | Cause or remark of the incident in English. | Y | Data Type: Text |
| INCIDENT\_DETAIL\_CN | Cause or remark of the incident in Chinese | Y | Data Type: Text |
| LOCATION\_EN | Location of the incident in English | N | Data Type: Text |
| LOCATION\_CN | Location of the incident in Chinese | N | Data Type: Text |
| DISTRICT\_EN | District of the location in English | N | Data Type: Text Acceptable (or Possible) values: Central &amp; Western, Eastern, Islands, Kowloon City, Kwai Tsing, Kwun Tong, North, Sai Kung, Sha Tin, Sham Shui Po, Southern, Tai Po, Tsuen Wan, Tuen Mun, Wan Chai, Wong Tai Sin, Yau Tsim Mong, Yuen Long |
| DISTRICT\_CN | District of the location in Chinese | N | Data Type: Text Acceptable (or Possible) values: 中西區， 東區， 離島， 九龍城， 葵青， 觀塘， |

Data Dictionary for Special Traffic News

1. <u>**Data Dictionary**</u>
Last Updated: November 2019

-----

| Name | Description | Mandatory | Remarks |
| --- | --- | --- | --- |
|  |  |  | 北區， 西貢， 沙田， 深水埗， 南區， 大埔， 荃灣， 屯門， 灣仔， 黃大仙， 油尖旺， 元朗 |
| DIRECTION\_EN | Bound or direction of the incident location in English | N | Data Type: Text |
| DIRECTION\_CN | Bound or direction of the incident location in Chinese | N | Data Type: Text |
| ANNOUNCEMENT\_DATE | Announcement date of the traffic news | Y | Data Type: Date Data format: Date Time part (YYYY-MM-DDTHH24:MI:SS ) e.g. 2019-08-15T11:44:56 |
| INCIDENT\_STATUS\_EN | Status of the Incident in English | Y | Data Type: Text Acceptable (or Possible) values: NEW UPDATED CLOSED |
| INCIDENT\_STATUS\_CN | Status of the Incident in Chinese | Y | Data Type: Text Acceptable (or Possible) values: 最新情況 更新情況 完結 |
| NEAR\_LANDMARK\_EN | The nearest landmark of the incident location in English | N | Data Type: Text |
| NEAR\_LANDMARK\_CN | The nearest landmark of the incident location in Chinese | N | Data Type: Text |
| BETWEEN\_LANDMARK\_EN | If the incident location lies between two landmarks, the first landmark is shown in NEAR\_LANDMARK\_EN and the second landmark is shown in BETWEEN\_LANDMARK\_EN, which is in English | N | Data Type: Text |

Data Dictionary for Special Traffic News
Last Updated: November 2019

-----

| Name | Description | Mandatory | Remarks |
| --- | --- | --- | --- |
| BETWEEN\_LANDMARK\_CN | If the incident location lies between two landmarks, the first landmark is shown in NEAR\_LANDMARK\_C and the second landmark is shown in BETWEEN\_LANDMARK\_CN, which is in Chinese | N | Data Type: Text |
| ID | The unique identified of the traffic news | Y | Data Type: Numeric |
| CONTENT\_EN | The content of the traffic news in English Remark: If the message contains table(s), the table(s) will be replaced by “Details refer to https://www.td.gov.hk/en/special\_news /spnews.htm” | Y | Data Type: Text |
| CONTENT\_CN | The content of the traffic news in Chinese Remark: If the message contains table(s), the table(s) in this field will be replaced by “詳情請參閱: https://www.td.gov.hk/tc/special\_news/ spnews.htm” | Y | Data Type: Text |
| LATITUDE | The latitude of the incident location encoded in WGS-84 standard | N | Data Type: Numeric e.g. 22.4710186 |
| LONGITUDE | The longitude of the incident location encoded in WGS-84 standard | N | Data Type: Numeric e.g. 114.0554229 |

Data Dictionary for Special Traffic News
Last Updated: November 2019

-----

# 2. <u>Sample XML</u>

## 2.1 First example:

### (1) XML file:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.td.gov.hk/en/special_news/trafficnews.xsd">
<message>
<INCIDENT_NUMBER>IN-19-09408</INCIDENT_NUMBER>
<INCIDENT_HEADING_EN>Road Incident</INCIDENT_HEADING_EN>
<INCIDENT_HEADING_CN>道路交通事故</INCIDENT_HEADING_CN>
<INCIDENT_DETAIL_EN>Traffic Accident</INCIDENT_DETAIL_EN>
<INCIDENT_DETAIL_CN>交通意外</INCIDENT_DETAIL_CN>
<LOCATION_EN>San Tin Highway </LOCATION_EN>
<LOCATION_CN>新田公路</LOCATION_CN>
<DISTRICT_EN/>
<DISTRICT_CN/>
<DIRECTION_EN>Yuen Long </DIRECTION_EN>
<DIRECTION_CN>元朗</DIRECTION_CN>
<ANNOUNCEMENT_DATE> 2019-08-15T11:44:56</ANNOUNCEMENT_DATE>
<INCIDENT_STATUS_EN>NEW</INCIDENT_STATUS_EN>
<INCIDENT_STATUS_CN>最新情况</INCIDENT_STATUS_CN>
<NEAR_LANDMARK_EN>Fairview Park Roundabout </NEAR_LANDMARK_EN>
<NEAR_LANDMARK_CN>錦繡花園迴旋處</NEAR_LANDMARK_CN>
<BETWEEN_LANDMARK_EN/>
<BETWEEN_LANDMARK_CN/>
<ID> 39470</ID>
<CONTENT_EN>Due to traffic accident, the fast lane of San Tin Highway Yuen Long bound near Fairview Park Roundabout is closed to all traffic. Only remaining lane(s) is still available to motorists. Traffic is busy now.</CONTENT_EN>
<CONTENT_CN>因交通意外，新田公路往元朗方向近錦繡花園迴旋處的快線現已封閉。 駕駛人士只可使用餘下行車線行車。
現時上址交通繁忙。</CONTENT_CN>
<LATITUDE/>
<LONGITUDE/>
</message>
</list >
```

### (2) Text message of the traffic news:

因交通意外，新田公路往元朗方向近錦繡花園迴旋處的快線現已封閉。
駕駛人士只可使用餘下行車線行車。

Due to traffic accident , the fast lane of San Tin Highway Yuen Long bound near Fairview Park Roundabout is closed to all traffic. Only remaining lane(s) is still available to motorists.

---

Data Dictionary for Special Traffic News
Last Updated: November 2019

-----

# 2.2 Second example:

## (1) XML file:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.td.gov.hk/en/special_news/trafficnews.xsd ">
<message>
<INCIDENT_NUMBER>IN-19-02552</INCIDENT_NUMBER>
<INCIDENT_HEADING_EN>Road Incident</INCIDENT_HEADING_EN>
<INCIDENT_HEADING_CN>道路交通事故</INCIDENT_HEADING_CN>
<INCIDENT_DETAIL_EN> Public Procession</INCIDENT_DETAIL_EN>
<INCIDENT_DETAIL_CN>公眾遊行</INCIDENT_DETAIL_CN>
<LOCATION_EN>The latest status of public transport services at Admiralty Area</LOCATION_EN>
<LOCATION_CN>金鐘一帶的最新公共運輸服務安排</LOCATION_CN>
<DISTRICT_EN/>
<DISTRICT_CN/>
<DIRECTION_EN/>
<DIRECTION_CN/>
<ANNOUNCEMENT_DATE> 2019-06-16T14:55:12</ANNOUNCEMENT_DATE>
<INCIDENT_STATUS_EN>UPDATED</INCIDENT_STATUS_EN>
<INCIDENT_STATUS_CN>更新情況</INCIDENT_STATUS_CN>
<NEAR_LANDMARK_EN/>
<NEAR_LANDMARK_CN/>
<BETWEEN_LANDMARK_EN/>
<BETWEEN_LANDMARK_CN/>
<ID> 36633</EPRESS_ID>
<CONTENT_EN> Members of the public are advised that due to the public procession on Hong Kong Island, extensive road closure as well as traffic diversion and special public transport arrangements in the vicinity of Tin Hau, Causeway Bay, Wan Chai, Admiralty and Central have been gradually implemented since 10.30 am until the crowded is dispersed and road closure is lifted. Affected bus and green minibus routes will be temporarily diverted in phases.

Motorists are advised not to driving to the affected areas, especially Tin Hau, Causeway Bay, Wan Chai, Admiralty and Central, unless necessary. Motorists should follow the Police's instructions and road signage in case of road closure and traffic diversion, and stay alert to the latest traffic news through the media.
The public are advised to plan their journeys early and use alternative travelling routes to avoid unexpected delay. The public are also advised to use public transport services, particularly railway services, as far as possible. Public transport commuters are advised to pay attention to the arrangements of route diversion or truncation and changes of stop locations.

The Police will exercise or adjust the road closure, traffic control measures and alteration and suspension of public transport services depending on the actual traffic conditions on site.

The Transport Department Notice related to the public processions on Hong Kong Island is as follows:
http://www.td.gov.hk/filemanager/common/pdf/2019/20190616fulleng.pdf

For enquiries on special traffic and transport arrangements, members of the public can call 1823 or browse through Transport Department website www.td.gov.hk for more details.

On the other hand, due to roads situation, the latest status of public transport services is as follows:
Details refer to https://www.td.gov.hk/en/special_news/spnews.htm

Tram services:
Between Tong Shui Road and Pedder Street have been suspended.
</CONTENT_EN>
<CONTENT_CN>
</message>
</list>
```

Data Dictionary for Special Traffic News
Last Updated: November 2019

-----

市民請留意，因應港島區公眾遊行活動，天后、銅鑼灣、灣仔、金鐘及中環一帶由上午 10 時 30 分逐步實施廣泛性的封路措施、交通改道及特別公共運輸安排，直至人群散去及道路重開為止。受影響的巴士路線及專線小巴路線會分階段臨時改道。

駕駛人士如非必要，請避免駕車前往受影響的地區，特別是天后、銅鑼灣、灣仔、金鐘及中環一帶。當遇到封路及改道時，駕駛人士須遵照現場警務人員及路牌的指示，並留意傳媒廣播的最新交通消息。

同時，市民應提早計劃行程路線及使用替代路線以免延誤。公眾人士亦應盡量使用公共交通工具，尤其鐵路服務。使用公共運輸服務的乘客，請留意相關服務的改道或縮短行車路線的安排，以及車站位置的變動。

警方將視乎現場實際路面情況而實施及調整封路、交通管制及更改或暫停公共運輸服務。

上述公眾遊行的運輸署公告如下：

www.td.gov.hk/filemanager/common/pdf/2019/20190616fullchi.pdf

市民可致電 1823 查詢或瀏覽運輸署網頁 www.td.gov.hk，查詢有關特別交通及運輸安排的詳情。

此外，因應道路情況，最新公共運輸服務安排如下：

詳情請參閱： https://www.td.gov.hk/tc/special_news/spnews.htm

電車服務：
來往糖水道至畢打街的電車服務暫停服務。
</CONTENT_CN>
    <LATITUDE/>
    <LONGITUDE/>
    </message>
</list>

**(2) Text message of the traffic news:**

| 巴士路線 | 行車方向 | 改道 |
| --- | --- | --- |
| W1 | 來回方向 | 服務暫停 |

電車服務:
來往糖水道至畢打街的電車服務暫停服務。

Data Dictionary for Special Traffic News
Last Updated: November 2019

-----

Members of the public are advised that due to the **public procession** on Hong Kong Island, extensive road closure as well as traffic diversion and special public transport arrangements in the vicinity of Tin Hau, Causeway Bay, Wan Chai, Admiralty and Central have been gradually implemented since 10.30 am until the crowded is dispersed and road closure is lifted. Affected bus and green minibus routes will be temporarily diverted in phases.

Motorists are advised not to driving to the affected areas, especially Tin Hau, Causeway Bay, Wan Chai, Admiralty and Central, unless necessary. Motorists should follow the **Police'** s instructions and road signage in case of road closure and traffic diversion, and stay alert to the latest traffic news through the media.

The public are advised to plan their journeys early and use alternative travelling routes to avoid unexpected delay. The public are also advised to use public transport services, particularly railway services, as far as possible. Public transport commuters are advised to pay attention to the arrangements of route diversion or truncation and changes of stop locations.

The Police will exercise or adjust the road closure, traffic control measures and alteration and suspension of public transport services depending on the actual traffic conditions on site.

The Transport Department Notice related to the public processions on Hong Kong Island is as follows:
http://www. td. gov. hk/filemanager/common/pdf/2019/20190616 full eng. pdf

For enquiries on special traffic and transport arrangements, members of the public can call 1823 or browse through Transport Department website www. td. gov. hk for more details.

On the other hand, due to roads situation, the latest status of public transport services is as follows:

| Routes | Direction | Diversion Details |
| --- | --- | --- |
| W1 | Both bound | Service suspended |

Tram services:
Between Tong Shui Road and Pedder Street have been suspended.

Data Dictionary for Special Traffic News
Last Updated: November 2019

## Dataset associations

These are upstream metadata associations. They do not validate resource schemas, document sections or live data values.

- [Special Traffic News (2nd Generation)](/datasets/hk-td-tis_19-special-traffic-news-v2.md) · [HTML](/datasets/hk-td-tis_19-special-traffic-news-v2/) · [DATA.GOV.HK source record](<https://data.gov.hk/en-data/api/3/action/package_show?id=hk-td-tis_19-special-traffic-news-v2>)

## Attribution and reuse

Source: Transport Department. Official source PDF remains authoritative.

Original publisher notices remain in the source and extracted document.

Original publisher notices remain in the official PDF and extracted document.

This is a Markdown text conversion with formatting changes. The official source PDF remains authoritative. No provider endorsement is claimed.

This copy supports noncommercial educational reference to help readers understand and use upstream schemas and APIs. This project purpose does not restrict rights granted by the provider licence.

[Reuse evidence](<http://static.data.gov.hk/td/special-traffic-news/en/Data_Specification_for_STN_Eng_v4.0.pdf>)

[Documents](/documents.md) · [HTML](/documents/td/data-dictionary-data-specification-for-stn-eng-v4-0/) · [Metadata JSON](/documents/td/data-dictionary-data-specification-for-stn-eng-v4-0.json)
