|
Boost : |
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk