id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
920,ST_LineToCurve generating invalid CURVEPOLYGON,debe,pramsey,"Hi, 
i have a problem with this geometry:


{{{
CURVEPOLYGON(COMPOUNDCURVE((724190.669216162 120573.733407055),CIRCULARSTRING(724190.669216162 120573.733407055,724190.12214281 120573.55
7014059,724189.632 120573.341),(724189.632 120573.341,724189.874 120573.455,724190.122 120573.557,724190.375 120573.647,724190.631 120573.
724,724190.669216162 120573.733407055)))
}}}

that is generated from (that polygon is a result of a st_intersection with others geometries):

{{{
st_linetocurve(st_geomfromtext('POLYGON((724190.669216162 120573.733407055,724190.631098529 120573.723945555,724190.3745717 120573.646726888,724190.12214281 120573.557014059,724189.874419981 120573.455023195,724189.632 120573.341,724189.874 120573.455,724190.122 120573.557,724190.375 120573.647,724190.631 120573.724,724190.669216162 120573.733407055))'))
}}}

if i convert it to text and i convert it back to geometry 

{{{
st_geomfromtext(st_astext(geometry))
}}}

i receive this error:

{{{
ERROR:  geometry requires more points
HINT:  ""...E((724190.669216162 120573.733407055)"" <-- parse error at position 62 within geometry
}}}

is this a bug or i'm doing something wrong?


{{{

                                        postgis_full_version
-----------------------------------------------------------------------------------------------------
 POSTGIS=""1.5.2"" GEOS=""3.2.2-CAPI-1.6.2"" PROJ=""Rel. 4.6.1, 21 August 2008"" LIBXML=""2.6.32"" USE_STATS

}}}
",defect,closed,medium,PostGIS 2.0.0,postgis,1.5.X,fixed,,
