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
Other technical details for the use of the traffic speed map, journey time indicators and special traffic news -
| Response format | XML |
| HTTP method | GET |
| 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) |
| Parameters | No parameter required |
| Usage note | If 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 Programs | This 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
Last revision date: March 2011
















