Menu

Tree [r8112] / trunk / toolkits / basemap / geos-3.1.1 /
 History

HTTPS access


File Date Author Commit
 build 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 capi 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 doc 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 macros 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 source 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 swig 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 tests 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 tools 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 AUTHORS 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 COPYING 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 ChangeLog 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 INSTALL 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 Makefile.am 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 Makefile.in 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 NEWS 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 README 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 TODO 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 aclocal.m4 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 acsite.m4 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 config.guess 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 config.sub 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 configure 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 configure.in 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 depcomp 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 install-sh 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 ltmain.sh 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 makefile.vc 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 missing 2009-11-02 jswhit [r7913] add geos 3.1.1 source
 py-compile 2009-11-02 jswhit [r7913] add geos 3.1.1 source

Read Me

BUILDING, TESTING, INSTALLING
=============================

Unix
-----

	# ./configure
	# make
	# make check
	# make install

Win32
-----

If you use Microsoft Visual C++ (7.1 or later) compiler, you can build 
GEOS using NMAKE program and provided makefile.vc files.

If you are building from SVN checkout, first run: autogen.bat
Then:

  nmake /f makefile.vc MSVC_VER=1400

where 1400 is version number of Visual C++ compiler, here Visual C++ 8.0 
from Visual Studio 2005 (supported versions are 1300, 1310, 1400 and 1500). 
The bootstrap.bat step is required to generate a couple of header files.

In order to build debug configuration of GEOS, additional flag DEBUG=1 
is required:

  nmake /f makefile.vc MSVC_VER=1400 DEBUG=1


CLIENT APPLICATIONS
===================

Using the C interface (recommended)
-----------------------------------

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.

Using the C++ interface (discouraged)
-------------------------------------

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.

Scripting language bindings
---------------------------

Ruby bindings are fully supported. To build, use the --enable-ruby option when 
configuring:

    # ./configure ... --enable-ruby
    
Since version 3.0, the Python bindings are unsupported. Recommended options:

 1. Become or recruit a new maintainer.
 2. Use Shapely (http://pypi.python.org/pypi/Shapely) with Python versions 2.4 or greater.
 3. Simply call functions from libgeos_c via Python ctypes.

DOCUMENTATION
=============

	# cd doc; make doxygen-html

	http://trac.osgeo.org/geos