On Data and Transportation. Q&A with Carlo Ratti
Q1. Are you involved in initiatives (Private, Public) in the area of Transportation where (Big) Data is used? or Can you refer us to initiatives in the area of Transportation that you are aware of, where (Big) Data is used?
Let me answer both questions together. Big Data means a better knowledge of the urban environment. In relation to mobility, let me share an example: At MIT Senseable City Lab, we analyzed all taxi trips that connect the City of New York in a given year. The project-called HubCab– gathered 170 million taxi trips by over 13,000 Medallion taxis in New York City, with GPS coordinates of all pickup and drop off points and corresponding times. We then created a mathematical model to determine the potential impact of ride sharing applied to such vast database. The project introduced the concept of “shareability networks” that allows for efficient modelling and optimization of the trip-sharing opportunities. Such an approach could lead to less traffic congestion, reduced operating costs and split fares, and to a less polluted environment.
Q2. Do you know which Data Sources are typically used in these initiatives? Do you use any special software for managing data for Transportation?
Let me still refer to HubCab. The basis of the HubCab tool is a data set of over 170 million taxi trips of all 13,500 Medallion taxis in New York City in 2011.
The data set contains GPS coordinates of all pickup and drop off points and corresponding times. Other sources are data collected from cellphone, either in opportunistic ways (a-la Tom Tom) or with special apps (think about Waze). Regarding software, we usually develop our own. In the case of Hub Cab, cartographic data of street shapes were obtained from OpenStreetMap.
The streets were cut into over 200,000 street segments of 40m length each with a Python script and the help of the shapely Python library, and imported into a MongoDB.
Pickup and drop off points were matched to the closest street segments. Street types unlikely to contain taxi drop offs or pickups, such as footpaths, trunks, service roads, etc. were not used in the matching process. Line widths of yellow and blue street segments on low zoom levels were styled on a logarithmic scale. The pickup and drop off points, represented as dots on the high zoom levels, were generated via an Arcpy script, being placed randomly within a box around a given street segment with the box width again following a logarithmic scale.
GPX files of the dots were styled using Maperitive, then merged and amended for different zoom levels. The dots and street line files were layered together with MapBox, which is the platform that streams all the map content.
The data back end of HubCab runs on a MongoDB, containing all street segments and their coordinates, and all flows between each pair of street segments.
Q4. Do you know what are the main Challenges in managing data for Transportation?
I would say the same issues that one encounters in all Big Data projects.