Search

Traffic Web Cam Images

Followers
0

Traffic Web Cam Images

Resources

Resource Format Link
Traffic Web Cam Images JPEG Go to resource

Additional Info

Field Value
Description

Provides images for the City of Ottawa’s traffic web cams. These images are available at sixty second intervals. To access the images users will be required to have an access key. The application form for access keys can be found on this page: http://trafficopendata.ottawa.ca/ts/rsadmin/certificate.jsp

The Attributes section contains details on how to access the images.

Date First Published
Update Frequency
Images are refreshed on 60 sec intervals.
Accuracy

There are no known errors associated with these images.

Attributes

After completing the registration form and receiving a confirmation email with a certificate number you will be able to access the camera images.

To access a camera image you can access the URL http://traffic.ottawa.ca/opendata/camera with the following parameters:

\u2022\tC: Camera number.
\u2022\tCertificate: The certificate string as supplied in the confirmation email.
\u2022\tId: User Id (optional).

Note: City of Ottawa cameras have camera numbers <2000, and MTO cameras have camera numbers >2000.

Note: The Id is a string value assigned by your user to each user or instance of your application accessing the images. The Id must be alphanumeric characters [a-z, A-Z, 0-9]. A given user id for a given certificate may only access the cameras at intervals of at least 60 seconds.

e.g. To access City Camera 16 (Bank and Hunt Club) http://traffic.ottawa.ca/opendata/camera?c=16&certificate=CERT123&id=2

e.g. To access MTO Camera 2002 (St Laurent) http://traffic.ottawa.ca/opendata/camera?c=2002&certificate=CERT123&id=1

The images are approximately 30-50KB in size.

Getting Camera Numbers

To obtain a list of camera numbers you can access a JSON list of the available cameras: http://traffic.ottawa.ca/map/camera_list

More information about the format of the list can be found in the following document: http://traffic.ottawa.ca/map/opendata_info

Source
Author Motaz Aladas
Author Email Motaz Aladas
Maintainer Traffic Mgmt &Operational Support Branch, Public Works
Maintainer Email Traffic Mgmt &Operational Support Branch, Public Works

Licence:

Developer Tools

  • The information on this page (the publication metadata) is also available in JSON format
    Link to JSON format