MobilityDB 1.3
Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables
09_berlinmod_aggregate.c File Reference

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 and performs a temporal count aggregation. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <meos.h>
#include <meos_internal.h>

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...
 

Functions

int main (void)
 

Variables

trip_record trip_rec
 

Detailed Description

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 and performs a temporal count aggregation.

Please read the assumptions made about the input file berlinmod_trips.csv in the file 05_berlinmod_disassemble.c in the same directory.

The program can be build as follows

gcc -Wall -g -I/usr/local/include -o 09_berlinmod_aggregate 09_berlinmod_aggregate.c -L/usr/local/lib -lmeos