|
MobilityDB 1.3
|
A program that reads AIS data from the file ais_trips_longest.csv containing the temporal values for trip and SOG for the longest 10 trips of ships extracted from one day of observations (aisdk-2025-03-01.csv) provided by the Danish Maritime Authority in https://web.ais.dk/aisdata/, and outputs the size in KB and number of instants for various simplification algorithms.
More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <meos.h>#include <meos_geo.h>#include <meos_internal.h>Data Structures | |
| struct | trip_record |
Macros | |
| #define | MAX_LEN_LINE 2000001 |
| #define | MAX_NUM_SHIPS 10 |
Functions | |
| int | main (void) |
A program that reads AIS data from the file ais_trips_longest.csv containing the temporal values for trip and SOG for the longest 10 trips of ships extracted from one day of observations (aisdk-2025-03-01.csv) provided by the Danish Maritime Authority in https://web.ais.dk/aisdata/, and outputs the size in KB and number of instants for various simplification algorithms.
Please notice that the SQL script generate_ais_trips_longest.sql in the data directory was used to generate the CSV file above.
The program can be build as follows