[postgis-devel] [PostGIS] #213: ST_CurveToLine doesn't support Compound Curves in Curve Polygons

PostGIS trac at osgeo.org
Mon Jun 29 18:57:39 PDT 2009


#213: ST_CurveToLine doesn't support Compound Curves in Curve Polygons
---------------------+------------------------------------------------------
 Reporter:  mleslie  |       Owner:  mleslie      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  postgis 1.4.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 I'm splitting this report (from Regina) out of ticket 212 into a home of
 it's own.

 =========

 SELECT
 ST_CurveToLine(ST_GeomFromEWKT('CURVEPOLYGON(COMPOUNDCURVE(CIRCULARSTRING(0
 0,2 0, 2 1, 2 3, 4 3),(4 3, 4 5, 1 4, 0 0)))'));

 gives me

 ERROR: Invalid ring type found in CurvePoly?. CONTEXT: SQL function
 "st_curvetoline" statement 1

 This is testing against my PostGIS 1.4b build on windows.

 =========

 It seems sensible to test ST_LineToCurve as well.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/213>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list