[Boost-bugs] [Boost C++ Libraries] #9217: Ensure

Subject: [Boost-bugs] [Boost C++ Libraries] #9217: Ensure
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-09 22:21:32


#9217: Ensure
-------------------------------------+----------------------
 Reporter: mloskot | Owner: mloskot
     Type: Patches | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost Development Trunk | Severity: Problem
 Keywords: geometry,wkt |
-------------------------------------+----------------------
 The [http://lists.boost.org/geometry/2013/10/2576.php problem with wkt io]
 thread reports:

> 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 ?

 Here is a patch with attempt to correct this problem in the WKT streamer.

 It basically imposes last point to be equal to the first one, regardless
 if a polygon is modelled with closed or non-closed rings.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9217>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC