Replication package for the paper: Vehicular Crowd-Sensing on Complex Urban Road Networks: A Case Study in the City of Porto
Authors/Creators
- 1. University of Naples Federico II
Description
This packageincludes supplementary materials and a KNIME workflow to replicate our case study investigating the road-network coverage achievable by a fleet of taxis in the Municipality of Porto (PT).
As follows, we give detailed instructions to reproduce our results.
- Download and install the KNIME Analytics Platform (version 4.3).
- Download and install KNOT: KNime mObility Toolkit, the custom KNIME extension we deleveloped (version 1.0.1).
- To enable visualization of the results on an interactive map, download and install the third-party KNIME Spatial Processing Nodes extension;
- Download the provided PortoCoverageCaseStudy.knwf KNIME workflow file, and import it into your KNIME instance.
- If you want to re-execute the provided workflow from scratch, follow these additional steps:
- Download the provided porto-taxi-trajectories-dataset.csv and porto.osm files; Note that the the trajectory dataset is downloaded from https://archive.ics.uci.edu/ml/datasets/Taxi+Service+Trajectory+-+Prediction+Challenge,+ECML+PKDD+2015, which is based on the work
Moreira-Matias, L., Gama, J., Ferreira, M., Mendes-Moreira, J., Damas, L., ”Predicting Taxi–Passenger Demand Using Streaming Data”. In: IEEE Transactions on Intelligent Transportation Systems, vol.14, no.3, pp.1393-1402, September (2013).
- The map-matching procedure requires an OSRM instance capable of serving routing requests over the city of Porto. For your convenience, we prepared a virtual machine image with OSRM installed and configured (OSRM-Porto-Ubuntu-20.04LTS.ova).You can run this virtual machine with VirtualBox and login with the credentials Username: User; Password: user. After login, it is possible to start the OSRM instance by opening a terminal and running the following command:
osrm-routed --max-matching-size 3000 OSRM-data/porto/porto.osrmTake note of the local IP address of the virtual machine (you may use the ifconfig command to get it).
-
Configure the CSV Reader node so that it reads the porto-taxi-trajectories-dataset.csv file you downloaded. Similarly, configure the Map Matcher node so that it reads the porto.osm file you downloaded, and so that the IP address of the OSRM instance is correct.
- Download the provided porto-taxi-trajectories-dataset.csv and porto.osm files; Note that the the trajectory dataset is downloaded from https://archive.ics.uci.edu/ml/datasets/Taxi+Service+Trajectory+-+Prediction+Challenge,+ECML+PKDD+2015, which is based on the work