[postgis-tickets] [PostGIS] #2168: ST_Distance is not always commutative

PostGIS trac at osgeo.org
Thu Jun 6 02:33:40 PDT 2013


#2168: ST_Distance is not always commutative
----------------------------+-----------------------------------------------
  Reporter:  realityexists  |       Owner:  pramsey      
      Type:  defect         |      Status:  reopened     
  Priority:  medium         |   Milestone:  PostGIS 2.0.4
 Component:  postgis        |     Version:  trunk        
Resolution:                 |    Keywords:               
----------------------------+-----------------------------------------------
Changes (by strk):

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


Comment:

 I don't like this approach. Better to figure out why distance_spheroid is
 returning a different result. Beside, I see that distance_spheroid takes a
 tolerance already. Too many tolerances handled in too many places for my
 taste.

 Can we come up with a cunit test for this case ?
 No fixes should be committed in 2.0 with no unit tests.

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