Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

elazar/lfttraffic-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Usage

Accidents

Accidents can be fetched in JSON form from the following URL.

https://raw.githubusercontent.com/elazar/lfttraffic-data/master/accidents.json

The file contains an array of objects, each with the following properties:

  • address
  • city
  • time
  • due_to
  • latitude
  • longitude

Traffic cameras

Traffic cameras can be fetched in JSON form from the following URL.

https://raw.githubusercontent.com/elazar/lfttraffic-data/master/cameras.json

The file contains an array of objects, each with the following properties:

  • main_road
  • cross_road
  • latitude
  • longitude
  • ptzid

The current image for a specific camera is accessible at a URL of the following form, where the value of the ptzid parameter corresponds to the object property by the same name referenced in the list above.

http://www.lafayettela.gov/tcams/getTCamera.aspx?ptzid=###

Credits

Traffic camera feeds

Accident reports

GPS coordinates

Data hosting

Releases

No releases published

Packages

No packages published