[postgis-tickets] [PostGIS] #2407: st_linetocurve behaviour change

PostGIS trac at osgeo.org
Thu Aug 8 08:50:39 PDT 2013


#2407: st_linetocurve behaviour change
---------------------+------------------------------------------------------
 Reporter:  mjurce   |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.4
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 I seem to understand that the algorithm in 1.5 used to compare angles
 between consecutive points while the algorithm in 2.0.x and up compares
 the distance from circle center. The tolerance used is the same but
 evidently the distance calculation introduces more error than the angle
 one, which results in not considering all of the curve points equidistant
 from the center. We're talking about an hard-coded tolerance of 1e-8. I
 guess we'd want this tolerance to possibly be specifiable by the user,
 btw.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2407#comment:16>
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