![]() |
MobilityDB 1.3
|
A simple program that reads from a CSV file synthetic trip data in Brussels generated by the MobilityDB-BerlinMOD generator, https://github.com/MobilityDB/MobilityDB-BerlinMOD disassembles the trips into individual observations, and write them in a CSV file named "berlinmod_instants.csv" ordered by timestamp. More...
Data Structures | |
struct | trip_record |
Macros | |
#define | MAX_LENGTH_DATE 12 |
#define | MAX_LENGTH_HEADER 1024 |
#define | MAX_LENGTH_TRIP 400001 |
Maximum length in characters of a trip in the input data. More... | |
#define | MAX_NO_TRIPS 256 |
Functions | |
int | main (void) |
A simple program that reads from a CSV file synthetic trip data in Brussels generated by the MobilityDB-BerlinMOD generator, https://github.com/MobilityDB/MobilityDB-BerlinMOD disassembles the trips into individual observations, and write them in a CSV file named "berlinmod_instants.csv" ordered by timestamp.
The input file is
trips.csv
: 154 trips from 5 cars during 11 days obtained from the generator at scale factor 0.1. The input file has been generated with the following SQL command on the database containing the generated data The program can be build as follows