Geos is a project mainly written in C++ and C, based on the LGPL-2.1 license.
GEOS 3
# ./configure
# make
# make check
# make install
Win32 Visual Studio Builds: sourcemakefile.vc
To compile programs against the C lib (recommended):
CFLAGS += `geos-config --cflags`
LDFLAGS += `geos-config --ldflags` -lgeos_c
#include <geos_c.h>
Example usage:
capi/geostest.c contains basic usage
examples.
To compile programs against the C++ lib:
CFLAGS += `geos-config --cflags`
LDFLAGS += `geos-config --ldflags` -lgeos
#include <geos.h>
Example usage:
doc/example.cpp contains basic usage
examples.
# cd doc; make doxygen-html
http://geos.refractions.net