![]() |
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>
Data Structures | |
struct | AIS_record |
Macros | |
#define | MAX_LENGTH_LINE 1024 |
#define | MAX_LENGTH_POINT 64 |
#define | MAX_NO_RECORDS 20000000 |
#define | NO_RECORDS_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