GEOS(1)

NAME
geos-config - script to get information about the installed version of GEOS

SYNOPSIS
geos-config [--prefix[=DIR]] [--version] [--libs] [--cflags] [--includes] [--jtsport]

DESCRIPTION

geos-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link programs that use GEOS. It is also used internally to the .m4 macros for GNU autoconf that are included with GEOS. GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS). As such, it aims to contain the complete functionality of JTS in C++. This includes all the OpenGIS "Simple Features for SQL" spatial predicate functions and spatial operators, as well as specific JTS topology functions such as IsValid().

OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). geos-config accepts the following options:

--version
    Print the currently installed version of GEOS on the standard output.

--libs
    Print the linker flags that are necessary to link a GEOS program.

--cflags
    Print the compiler flags that are necessary to compile a GEOS program.

--prefix=PREFIX
    If specified, use PREFIX instead of the installation prefix that GEOS was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options.

--jtsport
    Print the version of Java Topology Suite library, which is implemented by the current GEOS library.

SEE ALSO
/usr/share/doc/libgeos-doc/html/index.html
The installed GEOS library is fully documented in the GEOS documentation package, at /usr/share/doc/libgeos-doc/html/index.html and the pages at the same location, viewable with a web browser. For further information, see the GEOS home page, at http://geos.osgeo.org/.

AUTHOR
See /usr/share/doc/libgeos/AUTHORS

This manual page was written by Alex Bodnaru <alexbodn@012.net.il>, for the Debian project (but may be used by others).