[postgis-tickets] [PostGIS] #4223: ST_Distance returns 0 instead of 5

PostGIS trac at osgeo.org
Mon Nov 5 14:36:49 PST 2018


#4223: ST_Distance returns 0 instead of 5
----------------------+---------------------------
  Reporter:  br0ke    |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  medium   |  Milestone:  PostGIS 2.5.1
 Component:  postgis  |    Version:  2.5.x
Resolution:  fixed    |   Keywords:
----------------------+---------------------------

Comment (by pramsey):

 In [changeset:"16980" 16980]:
 {{{
 #!CommitTicketReference repository="" revision="16980"
 Patch over bad behaviour for near-parallel boxes and distancetree.
 Unfortunately, this "fix" is probably breakable, just put the boxes closer
 and closer together until we get "close enough to be the same" results
 from the edge normal comparison again. Only way around this is to do dot
 product and comparisons in higher-than-double space
 References #4223
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4223#comment:4>
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