Subject: Re: [geometry] compilation failure with wkb - Polygon
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2013-10-24 12:04:15
On 22 October 2013 19:18, Mats Taraldsvik <mats.taraldsvik_at_[hidden]> wrote:
> Hi Barend and Mateusz,
> I have started on multipolygon wkb support as well. However, I'm still
> struggling with compilation errors when testing ordinary (not multi) types.
> The multipoint ticket contains a LineString test, commented out, which does
> not compile.
> Today I tried to add a Polygon test, but it does not compile either. Are you
> able to help me with this, as I have been stuck for a couple of hours...?
> (I've attached the compilation errors)
> This is the Polygon test, add it to extensions/test/gis/io/wkb
> typedef bg::model::polygon<point_type> polygon_type;
> // Polygon
> test_geometry_equals<polygon_type, true>(
> "POLYGON((100 200, 200 200, 200 400, 100 400, 100 200))"
The missing strategies header I added yesterday also solves the
I've just added new (incremental) version of the patch:
with the polygon test added.
It all compiles for me using GCC 4.8 and clang 3.3.
To summary, I think all the compilation problems have been solved.
Apology it took me so long for check it.
p.s. I've added geometry (at) lists.boost.org to CC, so it's archived there too.
-- Mateusz Loskot, http://mateusz.loskot.net
Geometry list run by mateusz at loskot.net