MobilityDB 1.1

◆ MAX_INSTANTS

#define MAX_INSTANTS   50000

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 assembles the trips from the individual observations, and write them in a CSV file named "trips_new.csv" which corresponds to the file "trips.csv" in the current directory.

The input file is

  • trips_instants.csv: individual observations from 55 trips of 5 cars during 4 days obtained from the generator at scale factor 0.005 In the above file, the coordinates are given in the 3857 coordinate system, https://epsg.io/3857 and the timestamps are given in the Europe/Brussels time zone. The input file can be generated by running the program 05_meos_disassemble_berlinmod.c in the current directory This simple program does not cope with erroneous inputs, such as missing fields or invalid values.

The program can be build as follows

gcc -Wall -g -I/usr/local/include -o 03_meos_assemble_berlinmod 03_meos_assemble_berlinmod.c -L/usr/local/lib -lmeos