Skip to content

Instantly share code, notes, and snippets.

View marktyers's full-sized avatar

Mark Tyers marktyers

View GitHub Profile
@marktyers
marktyers / trafficincidents.py
Created February 11, 2014 18:54
Simple #python script to extract traffic incidents from Bing Maps in #json format #321COM
import urllib2
import json
# http://msdn.microsoft.com/en-us/library/hh441726.aspx
# get lat/lon data from http://itouchmap.com/latlong.html
latN = str(52.477213)
latS = str(52.356601)
lonW = str(-1.615194)
lonE = str(-1.344656)