|
MobilityDB 1.3
|
A simple program that reads AIS data from a CSV file containing one full day of observations provided by the Danish Maritime Authority in https://web.ais.dk/aisdata/, and transform it from SRID 4326 to SRID 25832 writing the result in an output CSV file. More...
#include <stdio.h>#include <stdlib.h>#include <time.h>#include <string.h>#include <proj.h>#include <meos.h>#include <meos_geo.h>#include <meos_internal.h>#include <meos_internal_geo.h>Data Structures | |
| struct | AIS_record |
Macros | |
| #define | MAX_LEN_LINE 1024 |
| #define | MAX_LEN_POINT 64 |
| #define | MAX_NUM_RECS 20000000 |
| #define | NUM_RECS_BATCH 100000 |
Functions | |
| int | main (void) |
A simple program that reads AIS data from a CSV file containing one full day of observations provided by the Danish Maritime Authority in https://web.ais.dk/aisdata/, and transform it from SRID 4326 to SRID 25832 writing the result in an output CSV file.
Please notice that the data directory DOES NOT contain the input CSV file, you must download it from the website above.
The program can be build as follows