[postgis-tickets] [PostGIS] #4223: ST_Distance returns 0 instead of 5
PostGIS
trac at osgeo.org
Mon Nov 5 14:34:37 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:
----------------------+---------------------------
Changes (by pramsey):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"16979" 16979]:
{{{
#!CommitTicketReference repository="" revision="16979"
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.
Reworking this example with even closer together inputs would be useful
for exposing this problem for eventual complete fix.
Closes #4223
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4223#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