[postgis-tickets] [PostGIS] #3048: Use Squared Distance instead of Distance in Simplify

PostGIS trac at osgeo.org
Fri Feb 20 08:29:23 PST 2015


#3048: Use Squared Distance instead of Distance in Simplify
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  pramsey      
      Type:  defect   |      Status:  closed       
  Priority:  high     |   Milestone:  PostGIS 2.1.6
 Component:  postgis  |     Version:  2.1.x        
Resolution:  fixed    |    Keywords:               
----------------------+-----------------------------------------------------

Comment(by strk):

 A couple of warnings left:
 {{{
 measures.c:2159:1: warning: no previous prototype for
 'distance2d_sqr_pt_pt' [-Wmissing-prototypes]
  distance2d_sqr_pt_pt(const POINT2D *p1, const POINT2D *p2)
  ^
 measures.c:2223:1: warning: no previous prototype for
 'distance2d_sqr_pt_seg' [-Wmissing-prototypes]
  distance2d_sqr_pt_seg(const POINT2D *p, const POINT2D *A, const POINT2D
 *B)
  ^
 }}}

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