Harmonizing traffic and reducing accidents using Xapix
Xapix can be used to integrate data from a variety of sources to create new digital mobility offerings. The following case study shows how Xapix improves an existing offering by tapping into additional data sources and integrating them with the original solution.
About the project: bpath
Bpath is an Integrated bike and automobile service that allows for harmonizing traffic with reduced accidents. Essentially we would like to integrate bicycle and automobile data with Xapix.io to create virtual dynamic bike paths, presented at Boston Connected World Hackathon 2019, Mobility track.
How Xapix changes the approach?
This project is entirely based on data integration. Essentially, by looking at dynamic and static data sources related to automobile and bicycle traffic, bPath can determine optimized low-risk bike routes that are available to everyone connected to the service. The several data providers required are, essentially:
COBI js-SDK (bicycle GPS positions)
Jaguar iPace REST API (automobile GPS positions)
Strava SDK (bicycle heatmap and flow of circulation)
HERE REST API (parametrized route calculation and historical accident data)
Traditionally, a project of this kind would demand the use of four different configuration and data consumption segments of the code, each tailored to one of the sources above. Further, the requested data would have to be selected, formatted and transformed properly for use in the rest of the application. This is all necessary before any "useful" part of the code can be produced.
With the use of Xapix, all the data sources were configured on the project UI dashboard, including their separate authentication methods and stored tokens/login items. These sources were all integrated to provide a single output containing only the relevant variables stored in customized properties on the response body. The variables were also adequately formatted and transformed (such as Jaguar i-pace vehicle mileage from miles to km) in the endpoint dashboard.
This allowed our application to consume a single endpoint to obtain all relevant data for the project, in a pre-formatted and organized fashion. Below are some images with the endpoint integrations in progress.
Used Hardware and services:
Xapix.io, HERE API, COBI Bike API, Bosch IoT, Strava Global Heatmap
What is the Problem?
What is the Solution?
The creation of Virtual Bike Paths (vbp) through our data aggregation and combination system, with HERE Traffic API, Strava Bike Heatmap, HERE Accident Spots and Cobi Radar Bicycles to provide a dynamic bike path available for the bicycle rider on the Maps app and the Car Driver, for instance, we used Jaguar I-Pace to simulate this integration, to say were are the bike lanes and were the driver should be more attentive.
What is the Social Impact?
Who's the team?
Co-Founder of Blue A.I. and currently Intern at Xapix. Student Mechatronics Engineering at USP, in exchange with the University of California at Berkeley.
Founder of STH.org.br, Digital NGO in the health area to help children who need medical treatments and surgeries in Brazil. Student Computer Engineering at USP, also in exchange at the University of California at Berkeley, where he met Rafael and started the project together.