|
Boost : |
Subject: Re: [boost] [gil] extensions
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2010-03-08 19:51:18
Christian Henning wrote:
> Mateusz, qq. How does the Boost Geometry extensions work when they
> are referencing each other? For instance, gil::io_new includes some
> stuff from gil::toolbox. Meaning when someone checks out gil::io_new
> he/she would need to download toolbox, as well. The only solution, I
> can think of, is to check out all extensions at all time. Like we do
> with boost. When using boost we tend to have all of the boost code at
> hand and not a subset. I think we should make that a recommendation
> in the documentation.
So far, I have identified only two inter-extensions dependencies
in Boost.Geometry. It is:
1) gis/projections use gis/geographic by including
<boost/geometry/extensions/gis/geographic/strategies/dms_parser.hpp>
2) gis/latlong use gis/geographic by including
<boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp>
In fact, we have not documented any recommendations for extensions users
yet, but I suppose the approach of grabbing all extensions at once would
be the simplest way to use them.
However, it's a good idea to include information, in docs, that
particular extension A requires extension B, C, ...
So, user can makes its own way to install extensions.
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk