Boost logo

Geometry :

Subject: Re: [geometry] problem with wkt io
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2013-10-10 19:08:50


On 9 October 2013 23:28, Mateusz Loskot <mateusz_at_[hidden]> wrote:
> On 9 October 2013 20:00, lepere renaud <lepere.renaud_at_[hidden]> wrote:
>>
>> I am using read_wkt to read wkt polygons and wkt to convert them to string
>> but i have some problems. I though that wkt polygons should have the last
>> point equal to the first one ; however in my model polygons are not closed.
>> The function read_wkt and wkt do not handle the last point, is this normal
>> or did i missed something ?
>
> On reflection, I think it is a good idea to fix it indeed.
>
> I submitted patch with a fix proposal
>
> "Impose closed rings of polygon in WKT output"
>
> https://svn.boost.org/trac/boost/ticket/9217

FYI, patch applied in trunk as r86233

Best regards,

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

Geometry list run by mateusz at loskot.net