Boost logo

Geometry :

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>(
> "010300000001000000050000000000000000005940000000000000694000000000000069400000000000006940000000000000694000000000000079400000000000005940000000000000794000000000000059400000000000006940",
> "POLYGON((100 200, 200 200, 200 400, 100 400, 100 200))"
> );

Hi Mats,

The missing strategies header I added yesterday also solves the
polygon compilation,
I've just added new (incremental) version of the patch:

Mats-Taraldsvik-MultiPoint-WKB-linestring-test-fixed-polygon-added.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.

Best regards,

-- 
Mateusz  Loskot, http://mateusz.loskot.net

Geometry list run by mateusz at loskot.net