$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [geometry] distance on multiline with spherical coordinates
From: Barend Gehrels (barend_at_[hidden])
Date: 2012-07-01 11:56:55
On 27-6-2012 11:44, Karsten Ahnert wrote:
> Hi,
>
> I think I found the problem, see the attached patch.
>
> The projection in strategies/spherical/distance_cross_track.hpp is
> calculated for the line spanned by the current segment, not the segment
> itself. I will add the patch to the issue too.
>
Hi Karsten,
Thanks a lot. Your diagnosis was right. Your patch (the second one -
sent off-list) is applied, and I added a unit test.
Regards, Barend