Boost logo

Geometry :

Subject: Re: [geometry] problem with wkt io
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2013-10-09 18:28:11


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

If the patch is acceptable, I will commit, so please confirm.

Best regards,

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

Geometry list run by mateusz at loskot.net