Skip to main content   Skip to search box   Skip to user groups
User Groups
 
PSI Banner

Main Content

This webpage contains the raw data of traffic speed map, journey time indicators and special traffic news. If you want to get traffic snapshot images, click the link below. 

Access and download traffic snapshot imageshttp://www.gov.hk/en/theme/psi/datadownload/traffic_cctv.htm

Type of Raw DataUpdating FrequencyMetadata Source FileSchema

Traffic Speed Map


The traffic speed map provides you with the average traffic speed of the main roads in Hong Kong, Kowloon and the New Territories (South).

Every 5 minutesMetadatahttp://data.one.gov.hk/wsdl/td/speedmap.wsdlDownload Traffic Speed Maphttp://data.one.gov.hk/others/td/speedmap.xml

In PDF format
Download schema of Traffic Speed Maphttp://www.gov.hk/en/theme/psi/Data_Specification_for_TSM_Eng.pdf

(Last Update : 31.3. 2011)

In XML format
 Metadatahttp://data.one.gov.hk/xsd/td/speedmap.xsd

(Last Update : 31.3. 2011)

Journey Time Indicators


The journey time indicators provide you with average cross-harbour journey time between Hong Kong Island and Kowloon.

Every 2 minutesMetadatahttp://data.one.gov.hk/wsdl/td/journeytime.wsdlDownload Journey Time Indicatorshttp://data.one.gov.hk/others/td/journeytime.xml

In PDF format
Download schema of Journey Time Indicatorshttp://www.gov.hk/en/theme/psi/Data_Specification_for_JTI_Eng.pdf

(Last Update : 31.3.2011)

In XML format

  Metadatahttp://data.one.gov.hk/xsd/td/journeytime.xsd
(Last update : 31.3.2011)

Special Traffic News


The special traffic news let you know the latest special traffic and transportation arrangements through the territory in times of traffic incidents.

As and when necessaryMetadatahttp://data.one.gov.hk/wsdl/td/specialtrafficnews.wsdlDownload special traffic newshttp://data.one.gov.hk/en/td/specialtrafficnews.xml

In PDF format
Download schema of Special Traffic Newshttp://www.gov.hk/en/theme/psi/Data_Specification_for_STN_Eng.pdf

(Last update : 31.3.2011)

In XML format

  Metadatahttp://data.one.gov.hk/xsd/td/specialtrafficnews.xsd
(Last update : 31.3.2011)


Other technical details for the use of the traffic speed map, journey time indicators and special traffic news -

Response formatXML
HTTP methodGET
Request path

Traffic Speed Map (http://data.one.gov.hk/others/td/speedmap.xml)

Journey Time Indicators (http://data.one.gov.hk/others/td/journeytime.xml)

Special Traffic News (http://data.one.gov.hk/en/td/specialtrafficnews.xml)

ParametersNo parameter required
Usage noteIf the information is not found, an HTTP status code of 404 (Not Found) will be returned along with the following HTTP status codes and error XML message.

HTTP/1.1 404 Not Found
<?xml version="1.0" encoding="UTF-8"?>
<Exception>
<Message>Not Found</Message>
<Detail>The requested file does not exist</Detail>
<Status>404</Status>
</Exception>

If the information is unavailable, an HTTP status code of 503 (Service Unavailable) will be returned along with the following HTTP status codes and error XML message.

HTTP/1.1 503 Service Unavailable
<?xml version="1.0" encoding="UTF-8"?>
<Exception>
<Message>Service Unavailable</Message>
<Detail>The service is temporarily unavailable.  Please try again later.</Detail>
<Status>503</Status>
</Exception>
Sample ProgramsThis example program codehttp://data.one.gov.hk/code/td/samplecode.zip illustrates the use of the services.


The real-time traffic data on this webpage are intended to be downloaded for your further processing.  If you just want to browse real-time traffic information, please click the link below.

Visit the Road Traffic Information Service of the Transport Departmenthttp://tis.td.gov.hk/rtis/changeLanguage.do?language=en&destroy=Y
 

Back to top

Last revision date: March 2011

  • Level Double-A conformance, W3C WAI Web Content Accessibility Guidelines 2.0
  • This website is IPv6 enabled
  • Web Accessibility Recognition Scheme
  • Hong Kong ICT Awards 2009 - Best Public Service Application (Website) Silver Award
  • Web Care Award 2011-13 - Ruby Award
  • Web Marketing Association's WebAward 2012 - Standard of Excellence Award
  • Interactive Media Awards 2011 - Best in Class Award (Government)
  • Interactive Media Awards 2012 - Best in Class Award (Government)
End of Page