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

View: New views
6 Messages — Rating Filter:   Alert me  

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

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#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
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

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

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#213: ST_CurveToLine doesn't support Compound Curves in Curve Polygons
----------------------+-----------------------------------------------------
  Reporter:  mleslie  |       Owner:  mleslie      
      Type:  defect   |      Status:  assigned    
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Changes (by mleslie):

  * status:  new => assigned

Comment:

 Seems to work as expected in LineToCurve.  Fixed on trunk at r4232.

 Porting back to 1.3 is still outstanding.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/213#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

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

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#213: ST_CurveToLine doesn't support Compound Curves in Curve Polygons
----------------------+-----------------------------------------------------
  Reporter:  mleslie  |       Owner:  mleslie      
      Type:  defect   |      Status:  assigned    
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Comment (by mcayland):

 Thanks for this Mark. I assume this is okay to patch into 1.4 branch
 aswell?


 ATB,

 Mark.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/213#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

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

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#213: ST_CurveToLine doesn't support Compound Curves in Curve Polygons
----------------------+-----------------------------------------------------
  Reporter:  mleslie  |       Owner:  mleslie      
      Type:  defect   |      Status:  assigned    
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Comment (by pramsey):

 Patch this back into the 1.4 branch, and with Mark's fix in place on #210
 I can roll out RC1 tomorrow morning my time.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/213#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

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

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#213: ST_CurveToLine doesn't support Compound Curves in Curve Polygons
----------------------+-----------------------------------------------------
  Reporter:  mleslie  |       Owner:  mleslie      
      Type:  defect   |      Status:  closed      
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  trunk        
Resolution:  fixed    |    Keywords:              
----------------------+-----------------------------------------------------
Changes (by robe):

  * status:  assigned => closed
  * resolution:  => fixed

Comment:

 I'm convinced this one is fixed.  I don't think we should patch this back
 to 1.3 since like I mentioned, I don't think we ever patched 1.3 with
 compound curve in curve polygon.  So I'm closing this out unless Mark or
 Mark has a compelling reason to patch back to 1.3.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/213#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

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

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#213: ST_CurveToLine doesn't support Compound Curves in Curve Polygons
----------------------+-----------------------------------------------------
  Reporter:  mleslie  |       Owner:  mleslie      
      Type:  defect   |      Status:  closed      
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  trunk        
Resolution:  fixed    |    Keywords:              
----------------------+-----------------------------------------------------
Comment (by mleslie):

 To port this back to 1.3 I would need to port ticket 212 back as well.  I
 no longer intend to do that.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/213#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel