[postgis-tickets] [PostGIS] #2423: [REGRESSION] ST_LineToCurve gets semicircle wrong

PostGIS trac at osgeo.org
Mon Aug 12 01:48:50 PDT 2013


#2423: [REGRESSION] ST_LineToCurve gets semicircle wrong
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.4
Component:  postgis  |     Version:  2.0.x        
 Keywords:  curves   |  
---------------------+------------------------------------------------------

Comment(by strk):

 Beside breaking the arc at the appropriate place (when angle between edges
 changes drastically) I think we should also avoid to define circles with a
 single curve, because such a curve would effectively be only defined by 2
 points (as first and last would be the same) thus allowing for infinite
 arcs. When a circle is detected (which would be wrong, in this case) the
 code should produce an output composed by two semicircle curves (but this
 is probably the topic for another ticket).

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2423#comment:3>
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-tickets mailing list