MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions
tpoint_datagen.c File Reference

Data generator for MobilityDB. More...

#include <postgres.h>
#include <utils/float.h>
#include <utils/timestamp.h>
#include <meos.h>
#include <meos_internal.h>
#include "geo/tgeo_spatialfuncs.h"

Macros

#define ADD_CURRENT_POSITION
 

Functions

TSequencecreate_trip (LWLINE **lines, const double *maxSpeeds, const int *categories, uint32_t noEdges, TimestampTz startTime, bool disturbData, int verbosity)
 Create a trip using the BerlinMOD data generator. More...
 
static double pt_angle (POINT2D p1, POINT2D p2, POINT2D p3)
 Return the angle in degrees between 3 points. More...
 

Detailed Description

Data generator for MobilityDB.

These functions are used in the BerlinMOD data generator https://github.com/MobilityDB/MobilityDB-BerlinMOD