I believe the MIT Cartel project also addressed this very problem, although the approach they used is to leverage opportunistic sensing from devices embedded in cars and mobile phones.
Here is the link to the Cartel project page. It contains links to several of the papers they published on the topic.