MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
ais_transform.c File Reference

A simple program that transform an AIS trip with MMSI 205718000 obtained from the file aisdk-2023-08-01.csv provided by the Danish Maritime Authority in https://web.ais.dk/aisdata/, and transform a few points from SRID 4326 to SRID 25832. More...

#include <stdio.h>
#include <stdlib.h>
#include <proj.h>
#include <meos.h>
#include <meos_geo.h>
#include <meos_internal.h>

Functions

int main (void)
 

Detailed Description

A simple program that transform an AIS trip with MMSI 205718000 obtained from the file aisdk-2023-08-01.csv provided by the Danish Maritime Authority in https://web.ais.dk/aisdata/, and transform a few points from SRID 4326 to SRID 25832.

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

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