MobilityDB 1.1

◆ MAX_LENGTH_HEADER

#define MAX_LENGTH_HEADER   1024

A simple program that reads AIS data from a CSV file and outputs a few of these records converted into temporal values.

In the input file aisinput.csv in the same directory it is assumed that

  • The coordinates are given in the WGS84 geographic coordinate system, and
  • The timestamps are given in the GMT time zone. This simple program does not cope with erroneous inputs, such as missing fields or invalid timestamp values.

The program can be build as follows

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