Boost.Geometry

NOTE that this page is old and Boost.Geometry is now part of Boost. Documentation is now there.

(also known as GGL, Generic Geometry Library)

Ohloh project report for Generic Geometry Library

Boost.Geometry provides a  generic implementation of geometry algorithms, working with geometry types provided by the library itself as well as user-defined types. The library is implemented in  C++ programming language with extensive use of elements of  template metaprogramming like class (type) templates, static polymorphism and compile-time execution. Consequently, Boost.Geometry is built upon foundation of  C++ Standard Library and  Boost C++ Libraries.

The main purpose of this Trac website is to collect bug reports, patches and enhancements submitted by developers and users as well as it integrates Wiki pages. In order to submit a new report or edit Wiki pages you'll need to login with an  OSGeo User ID. Read the TracGuide for details about how the site works.

News

Features

Boost.Geometry defines concepts for geometries and implements some algorithms on such geometries.

Boost.Geometry contains a dimension-agnostic, coordinate-system-agnostic and scalable kernel, based on concepts,  metafunctions and tag dispatching.

On top of that kernel, algorithms are built: area, length, perimeter, centroid, convex hull, intersection (clipping), within (point in polygon), distance, envelope (bounding box), simplify, transform, convert, and more. The library is also designed to support high precision arithmetic numbers, such as  GMP.

Documentation

Documentation and API reference (generated with  Doxygen and  Boost QuickBook) is available  here

Related materials:

  •  Barend's Blog Blog of Barend Gehrels, often with materials related to Boost.Geometry
  •  Mateusz' Blog Blog of Mateusz Loskot, entry with materials related to Boost.Geometry
  • OGC Overview of functions and OGC support
  • Who Uses GGL? - list of projects using Boost.Geometry
  • BoostCon materials

Supported compilers

Check SupportedCompilers article for detailed matrix of tested environments.

Download

See the subversion which has anonymous access

Subversion

Subversion repository with source code of Boost Geometry is hosted in the Boost Trunk available at

svn co http://svn.boost.org/svn/boost/trunk/boost/geometry boost-geometry

(development version) and

svn co http://svn.boost.org/svn/boost/trunk/libs/geometry boost-geometry-libs

(examples, docs and tests) and

svn co http://svn.boost.org/svn/boost/sandbox-tags/geometry/boost-geometry-0.9.0 boost-geometry

(stable version)

Support

 geometry at lists.boost.org mailing list is the main place where Boost Geometry (aka GGL) discussion happens and  archives are public. You'll need to [ subscribe to be able to post to the list.

The mailing list is also accessible from Nabble as  Boost Geometry.

License

Boost.Geometry is distributed under the  Boost Software License, Version 1.0.

Copyright

  • Copyright © 1995-2010 Barend Gehrels, Geodan Holding B.V. Amsterdam, the Netherlands.
  • Copyright © 2008-2010 Bruno Lalande, Paris, France.
  • Copyright © 2010 Mateusz Loskot, London, UK

This Trac website for Boost.Geometry project is hosted by  OSGeo Foundation