Boost logo

Boost :

Subject: Re: [boost] [geometry] Inclusion in the next release?
From: Barend Gehrels (barend_at_[hidden])
Date: 2010-03-25 06:54:41


Hi Romain,

> GeographicLib is a set of C++ classes, there is no such dependencies with
> PROJ4 (from my understanding).
>

I agree, I didn't see any reference.

> I actually asked Barend if you guys had a look to this library because the
> library can do geodesic computation:
>
> http://geographiclib.sourceforge.net/html/geodesic.html
> <http://geographiclib.sourceforge.net/html/geodesic.html>
> http://geographiclib.sourceforge.net/html/classGeographicLib_1_1Geodesic.html
>
> <http://geographiclib.sourceforge.net/html/classGeographicLib_1_1Geodesic.html>However,
> I am not sure that Boost Geometry is able to perform "geodesic direct /
> inverse" computation (cf. links before). Any advice on this part?
>
Boost Geometry can do distance calculations on the ellipsoid, which are
modelled as "strategies". But not this specific geodesic, neither direct
nor inverse.

It can currently do Vincenty and Andoyer.

Because Boost.Geometry is designed with strategies, you might even mix
the two libraries, using Boost.Geometry for normal calculations,
creating a strategy using geographiclib.

Didn't do this in practice yet.

Regards, Barend


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk