[Boost-bugs] [Boost C++ Libraries] #6585: Multipoint syntax variant

Subject: [Boost-bugs] [Boost C++ Libraries] #6585: Multipoint syntax variant
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-20 23:49:29


#6585: Multipoint syntax variant
---------------------------------------+------------------------------------
 Reporter: aleksey.tulinov@… | Owner: barendgehrels
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
---------------------------------------+------------------------------------
 Multipoint might be written in to variants: "MULTIPOINT ((10 40), (40 30),
 (20 20), (30 10))" or "MULTIPOINT (10 40, 40 30, 20 20, 30 10)".

 read_wkt() does parse first variant, but doesn't parse second. I've added
 multipoint_parser to switch between variants depending on the format of
 the first point in WKT.

 I've also added check_end() call to multi_parser to handle incorrect
 definitions like "MULTILINESTRING ((10 10, 20 20, 10 40),
 (40 40, 30 30, 40 20, 30 10)), (0 0, 1 1)"

 Patch and test application are attached to ticket.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6585>
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:09 UTC