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

A simple program that generates a given number of tgeompoint instants, assembles the instants into a sequence at the end of the generation process, and outputs the number of instants and the distance travelled. More...

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <meos.h>
#include <meos_geo.h>

Macros

#define MAX_LINE_LENGTH   1024
 

Functions

int main (void)
 

Detailed Description

A simple program that generates a given number of tgeompoint instants, assembles the instants into a sequence at the end of the generation process, and outputs the number of instants and the distance travelled.

The instants are generated so they are not redundant, that is, all input instants will appear in the final sequence.

The program can be build as follows

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