(note the second radius passed to m_ellipsoid). Otherwise it chooses the incorrect constructor for the ellipsoid and distances are incorrect.I think should be:Hi,I am trying to work with boost 1.57 and also I've got the geometry.extensions.gis from the develop branch. I am using geographic cs. Looking at extensions\gis\geographic\strategies\andoyer.hpp I think there is a problem with one of the constructors:
explicit inline andoyer(RadiusType f)
: m_ellipsoid(f)
{}
explicit inline andoyer(RadiusType f)
: m_ellipsoid(f, f)
{}
// Unit sphere |
ellipsoid(T const& f) |
: m_a(1.0) |
, m_f(f) |
{} |
Sorry for posting it in the groups - I am not sure what the proper way to submit a patch is.