Subject: Re: [geometry] Compile error when trying to calculate length of linestring
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2013-09-21 13:06:36
Just quick reply to this and your older message about reviewing WKB
parser compilation errors.
I'm not able to help until next weekend, after 27th of Sept.
Then, I will do my best to help with the WKB.
On 21 September 2013 16:08, Mats Taraldsvik <mats.taraldsvik_at_[hidden]> wrote:
> I'm trying to add some Linestring tests for reading WKB, however, I get
> compile errors when trying to check the equality of the linestrings. If I
> swap the trivialcheck with num_points, it runs fine.
> Calculating the length of a linestring in the example code in the reference
>  works fine, so I don't know exactly what the issue might be...
> The errors appear when I try to add the following line to
> typedef bg::model::linestring<point_type> linestring_type;
> test_geometry_equals<linestring_type, true>(
> "LINESTRING (1.234 5.678, 9.1011 10.1112, 13.1415 16.1718)");
> The compile errors for both gcc and clang are attached.
> Mats Taraldsvik
> Geometry mailing list
-- Mateusz Loskot, http://mateusz.loskot.net "Participation in this whole process is a form of torture" ~~ Szalony
Geometry list run by mateusz at loskot.net