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

A simple program that assembles temporal points from temporal floats, one for each coordinate dimension. More...

#include <stdio.h>
#include <meos.h>
#include <meos_internal.h>

Macros

#define MAX_COUNT   20
 

Functions

int main ()
 

Detailed Description

A simple program that assembles temporal points from temporal floats, one for each coordinate dimension.

The program can be build as follows

gcc -Wall -g -I/usr/local/include -o tpointseq_make_coords tpointseq_make_coords.c -L/usr/local/lib -lmeos
TSequence * tpointseq_make_coords(const double *xcoords, const double *ycoords, const double *zcoords, const TimestampTz *times, int count, int32 srid, bool geodetic, bool lower_inc, bool upper_inc, interpType interp, bool normalize)
Return a temporal sequence from arrays of coordinates, one per dimension, and timestamps.
Definition: tsequence.c:1242