MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions
tbl_geometry_read.c File Reference

A simple program that reads a CSV file containig geometries and compute the total number of points in all geometries. More...

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

Macros

#define MAX_LENGTH_GEO   12001
 
#define MAX_LENGTH_HEADER   1024
 

Functions

int main (void)
 

Detailed Description

A simple program that reads a CSV file containig geometries and compute the total number of points in all geometries.

The program can be build as follows

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