[postgis-devel] [PostGIS] #525: Contrary to doc, Multicurves do not allow the inclusion of Compound Curves

PostGIS trac at osgeo.org
Mon Dec 13 13:43:53 PST 2010


#525: Contrary to doc, Multicurves do not allow the inclusion of Compound Curves
--------------------------+-------------------------------------------------
  Reporter:  ravenAtSafe  |       Owner:  pramsey      
      Type:  defect       |      Status:  closed       
  Priority:  medium       |   Milestone:  PostGIS 2.0.0
 Component:  postgis      |     Version:  1.5.X        
Resolution:  fixed        |    Keywords:               
--------------------------+-------------------------------------------------
Changes (by pramsey):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  PostGIS 1.5.3 => PostGIS 2.0.0


Comment:

 Obviously this is an easy case to forget, as I forgot it in reworking the
 parser for 2.0 as well. It is now handled in 2.0 at r6364.
 {{{
 postgis20=# select ST_AsText(ST_GeometryFromText(
 'MULTICURVE(COMPOUNDCURVE(
  CIRCULARSTRING(0 0, 1 1, 1 0),
  (1 0, 0 1)))', 4236));

                               astext
 ------------------------------------------------------------------
  MULTICURVE(COMPOUNDCURVE(CIRCULARSTRING(0 0,1 1,1 0),(1 0,0 1)))
 (1 row)
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/525#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list